Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
    sub printFoo {
        print "\$foo = $foo\n";
    }
    
  2. or download this
    "my" variable $foo masks earlier declaration in same scope at noname.p
    +l line 8.
    Use of uninitialized value in concatenation (.) or string at noname.pl
    + line 14.
    $foo = 
    $foo = 2