Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] filehandles in perl



Hector,

Filehandles are a pain to work with for tricky stuff. You have
to use globs. 
 
You would probably be better off using the IO::File module.

Jake

--- Hector Akamine <hector_aka@example.com> wrote:
> Hi, 
> 
> I tried the following in perl
> 
> open (OUTF($i), ">$file[$i]"); # WRONG !!!
> 
> to open multiple files, whose names are in the file
> array. The problem is that it seems I can't generate
> filehandle names in that way. Is there an alternative
> solution?
> 
> Thanks in advance 
> 
> __________________________________________________
> Do You Yahoo!?
> Try FREE Yahoo! Mail - the world's greatest free email!
> http://mail.yahoo.com/
> 


__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links