Help for this page

Select Code to Download


  1. or download this
    $ perl -le 'print STDOUT foo'  # bareword
    foo
    ...
    Bareword "foo" not allowed while "strict subs" in use at -e line 1.
    Execution of -e aborted due to compilation errors.
    $ perl -e 'use strict; foo(); sub foo { };' # that's where you actuall
    +y need the parens; no error