develooper Front page | perl.perl5.porters | Postings from March 2009

Displaying implicit $_ usage with B::Deparse

Thread Next
Gabor Szabo
March 1, 2009 04:34
Displaying implicit $_ usage with B::Deparse
Message ID:
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/) {

Would it be possible to add that as an optional feature of B::Deparse?


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About