RE: Variable instaed of GLOB REF

2003-08-18 Thread Dan Muey
> > There are ways to fake a filehandle by tieing it to a module, > > but that is a bit cumbersome. Looking at the Mail::Internet > > docs it seems that you can pass it an array reference instead > > of a filehandle ref. > > > > > Oh yeah I see that now, that may be just the ticket. > I'll tr

RE: Variable instaed of GLOB REF

2003-08-18 Thread Dan Muey
> There are ways to fake a filehandle by tieing it to a module, > but that is a bit cumbersome. Looking at the Mail::Internet > docs it seems that you can pass it an array reference instead > of a filehandle ref. > Oh yeah I see that now, that may be just the ticket. I'll try it out and let

RE: Variable instaed of GLOB REF

2003-08-18 Thread Hanson, Rob
Message- From: Dan Muey [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 2:58 PM To: Dan Muey; [EMAIL PROTECTED] Subject: RE: Variable instaed of GLOB REF > Howdy all! > > If you have a function that is expecting a FILEHANDLE as it's Sorry FILHANDLE Refence actually.

RE: Variable instaed of GLOB REF

2003-08-18 Thread Dan Muey
> Howdy all! > > If you have a function that is expecting a FILEHANDLE as it's Sorry FILHANDLE Refence actually. > argument how could you supply it a variable instead? > > For instance: > > my $mio = Mail::Internet(\*STDIN); > ... > Which is peachy. > What I'd like to