The value 0777 will cause Perl to slurp files whole because there is no legal byte with that value.perl -0777 -pe 's/\n+/\n/g' myFile
In reply to Re: put file content into a string
by l3v3l
in thread put file content into a string
by jeanluca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |