![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
Re^5: Merging specific data from 2 files into a third.by nobull (Friar) |
on Nov 10, 2006 at 18:16 UTC ( #583374=note: print w/replies, xml ) | Need Help?? |
What's all that stuff with $fh? You appear to be trying to pass Tie::File a reference to a reference to (sic) a GLOB when all it really wants is a filename. Surely you just meant...
You can pass 'Tie::File' a filehandle (aka a reference to a GLOB not a reference to a reference to a GLOB) but you'd need open it first.
Note, the FileHandle module was long ago superceeded by the IO::* modules (particularly IO::File and IO::Handle) but you rarely need to construct them explicitly.
In Section
Seekers of Perl Wisdom
|
|