Taken the following code using B::Deparse can insert the missing @_
and @ARGV after the shift.
my $filename = shift;
sub foo {
my $x = shift;
}
On the other hand in the following examples it did not insert the implicitly
used $_:
if ($line = /something/) {
}
foreach (@arr) {
if (/abc/) {
print;
}
}
Would it be possible to add that as an optional feature of B::Deparse?
Gabor
Thread Next