No such thing as a small change | |
PerlMonks |
Re: Converting FILEHANDLE to stringby quinkan (Monk) |
on Nov 29, 2003 at 23:27 UTC ( [id://310945]=note: print w/replies, xml ) | Need Help?? |
Check CPAN for modules. File::Slurp does this sort of thing, and has just been modified to extend its functions.
This has problems if your file/string is huge. There is also a Tie::Slurp module or somesuch but I admit I haven't had it working yet.
In Section
Seekers of Perl Wisdom
|
|