Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Scalar context changes bareword value?

by crenz (Priest)
on Apr 22, 2004 at 13:27 UTC ( #347345=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub sub1(*) {
        print "args(1): @_\n";
        print scalar $_[0], "\n";
        sub2(@_);
    }