laziness, impatience, and hubris | |
PerlMonks |
Re^2: getfile( $filename )by harleypig (Monk) |
on Jul 29, 2005 at 03:46 UTC ( [id://479229]=note: print w/replies, xml ) | Need Help?? |
Yeah, I've run across that little ditty before, most recently as a yak shaving on my IPC::Open3 journey, but it doesn't handle wantarray. It just occurred to me that it doesn't chomp the lines either ... hmmm ...
I wish there was a way to chomp <$FH>.
Harley J Pig
In Section
Cool Uses for Perl
|
|