Help for this page

Select Code to Download


  1. or download this
    perldoc -f my
    A "my" declares the listed variables to be local
    (lexically) to the enclosing block, file, or "eval".
    
  2. or download this
    $ perl
    use strict;
    ...
    print "$var\n";
    Global symbol "$var" requires explicit package name at - line 16.
    Execution of - aborted due to compilation errors.