- or download this
sub dequote {
local $_ = @_ ? $_[0] : $_;
...
s/\\(.)/$1/g;
return $_;
}
- or download this
use strict;
use warnings;
...
print dequote, "\n"
foreach $var;
- or download this
STORE "John \"Foo\" Bar"
FETCH
...
FETCH
STORE
Use of uninitialized value in print at 561931.pl line 25.
- or download this
use strict;
use warnings;
...
dequote('"John \"Foo\" Bar"');
print(pos(), "\n");
- or download this
2
Use of uninitialized value in print at 561931.pl line 18.
- or download this
2
2
- or download this
sub dequote {
#local $_ = @_ ? $_[0] : $_; # XXX
...
s/\\(.)/$1/g;
return $_;
}
- or download this
STORE "John \"Foo\" Bar"
FETCH
John "Foo" Bar
- or download this
2
2