![]() |
|
Welcome to the Monastery | |
PerlMonks |
Re: put file content into a stringby l3v3l (Monk) |
on Dec 19, 2005 at 17:31 UTC ( #517822=note: print w/replies, xml ) | Need Help?? |
You could also use the "-0777" command line switch if you were writing a quick solution to do something like parsing the entire input file as a single line in order to alter the newlines that otherwise require a range operator to deal with, ie:
The value 0777 will cause Perl to slurp files whole because there is no legal byte with that value.
In Section
Seekers of Perl Wisdom
|
|