- or download this
foreach (@pairs) {
s/\s*(.*?)\s*/$1/;
...
.
.
}
- or download this
push @strings, 'nospace';
push @strings, 'trailingspace ';
...
$wtf =~ s/\s*(.*?)\s*/$1/;
print "After: '$wtf'\n\n";
}
- or download this
Before: 'nospace'
After: 'nospace'
...
Before: ' spaces every where '
After: 'spaces every where '
- or download this
# Fetch a list of cookies from the environment or the incoming headers
+ and
# return as a hash. The cookie values are not unescaped or altered in
+any way.
...
return \%results unless wantarray;
return %results;
}