Help for this page

Select Code to Download


  1. or download this
    # Not using strict, for demonstration.
    
    ...
        # We're in the same lexical scope!!
        print "Foo is: $foo\n";
    }
    
  2. or download this
    use strict;
    
    ...
    sub mistake {
        print $foo; # Works, and prints blah
    }