Help for this page

Select Code to Download


  1. or download this
    (~) $ perl -Mstrict -e '$foo = 'bar'; print $foo . $/;'
    Global symbol "$foo" requires explicit package name at -e line 1.
    Global symbol "$foo" requires explicit package name at -e line 1.
    Bareword "bar" not allowed while "strict subs" in use at -e line 1.
    Execution of -e aborted due to compilation errors.
    
  2. or download this
    (~) $ perl -Mstrict -e '$foo = "bar"; print $foo . $/;'
    Global symbol "$foo" requires explicit package name at -e line 1.
    Global symbol "$foo" requires explicit package name at -e line 1.
    Execution of -e aborted due to compilation errors.