Syntactic Confectionery Delight | |
PerlMonks |
(tye)Re: Slurp a fileby tye (Sage) |
on Jan 08, 2001 at 21:56 UTC ( [id://50533]=note: print w/replies, xml ) | Need Help?? |
You need to check whether open fails and report a useful error. Here is a trick to do that for you: Though I'm taking on faith that local(*ARGV) will properly save and restore everything that <> manipulates. (: - tye (but my friends call me "Tye")
In Section
Cool Uses for Perl
|
|