... #error checking and stuff left as an exercise. $/=undef; #slurp files. $lines=<FILE>; close(FILE); $lines =~ s/\n//g; #now do your thing.
Note that this joins lines, so if you count on newlines as whitespace, you're out of luck with this.
Cheers,
alf
In reply to Re: Automatically hyperlinking text fails with newlines
by alien_life_form
in thread Automatically hyperlinking text fails with newlines
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |