Don't ask to ask, just ask | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Sounds like you could want to set the input record separator ('$/') to undef, then you'll pull the file in one huge chunk rather than line-by-line. Try either of the following lines:
The first line will set '$/' to undef for the rest of the file, the second only for the enclosing scope (arguably better). You might want to try reading perlvar to get a better idea what '$/' is, and maybe pick a better value to set it to. In reply to Re: Search and replace in html
by kilinrax
|
|