- or download this
if ($val =~ s/["\\]/\\$1/g or $val =~ m/[:\s]/) {
$val = qq["$val"];
}
- or download this
"this was quoted because of whitespace"
"\"this was quoted because of whitespace\""
- or download this
foreach my $val ( @{$arrayref} ) {
# do evil mutating things to $val
...
foreach my $val ( @{$arrayref} ) {
# now do it AGAIN.
}
- or download this
FIRST LOOP
SCALAR(0x857c5cc)
...
SCALAR(0x857c5d8)
SCALAR(0x857c5e4)
SCALAR(0x857c5f0)