![]() |
|
"be consistent" | |
PerlMonks |
Re: Best way to get all of the matches?by prasadbabu (Prior) |
on Sep 30, 2006 at 11:23 UTC ( #575662=note: print w/replies, xml ) | Need Help?? |
I am not sure, something like this?
Also avoid using, undef $/, for reading file like this, which ll affect your coding in some situations, instead try Perl Idioms Explained - my $string = do { local $/; <FILEHANDLE> };. Prasad
In Section
Seekers of Perl Wisdom
|
|