- or download this
$_ eq "pot" and ($_ = "kettle") for $some->{deeply}{nested}{data}{structure}; - or download this
$some->{deeply}{nested}{data}{structure} = "kettle"
if $some->{deeply}{nested}{data}{structure} eq "pot";
- or download this
{
local *_ = \$some->{deeply}{nested}{data}{structure};
$_ = "kettle" if $_ eq "pot";
}
- or download this
my $stuff;
for(return_value()) {
chomp;
...
tr/x/y/;
$stuff = $_;
}
- or download this
my $stuff = return_value();
for($stuff) {
chomp;
s/foo//g;
tr/x/y/;
}