Help for this page

Select Code to Download


  1. or download this
    $ perl -Mstrict -le '{ our $foo = "foo"; print $foo; } print $foo'
    Variable "$foo" is not imported at -e line 1.
    Global symbol "$foo" requires explicit package name at -e line 1.
    Execution of -e aborted due to compilation errors.
    
  2. or download this
    $ perl -Mstrict -le '{ our $foo = "foo"; print $foo; } print $main::fo
    +o'
    foo
    foo