![]() |
|
We don't bite newbies here... much | |
PerlMonks |
Re^3: Inheritance and IOby djp (Hermit) |
on Jul 23, 2007 at 03:38 UTC ( #628175=note: print w/replies, xml ) | Need Help?? |
Using a tied filehandle is the 'correct' approach as others have pointed out. It's not much work if you use the (more or less undocumented) Tie::StdHandle class in Tie/Handle.pm. Just subclass Tie::StdHandle and then implement the routines you need, probably OPEN and READLINE in your case.
In Section
Seekers of Perl Wisdom
|
|