in reply to problem with long strings and regex
use strict; my $length=0; while(<>){ chomp; # did you want to get rid of newlines? otherwise use tr/// $length += length; } print $length, "\n";
print+qq(\L@{[ref\&@]}@{['@'x7^'!#2/"!4']});
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: problem with long strings and regex
by flummoxer (Initiate) on Apr 02, 2009 at 07:32 UTC |