Help for this page

Select Code to Download


  1. or download this
    $ perl -e '$a=inf; print ++$a,"\n"'
    ing
    ...
    $ perl -v
    
    This is perl 5, version 14, subversion 2 (v5.14.2) built for darwin-th
    +read-multi-2level
    
  2. or download this
    $ perl -Mwarnings -e '$a=inf; print ++$a,"\n"'
    Unquoted string "inf" may clash with future reserved word at -e line 1
    +.
    ...
    $ perl -Mstrict -e '$a=inf; print ++$a,"\n"'
    Bareword "inf" not allowed while "strict subs" in use at -e line 1.
    Execution of -e aborted due to compilation errors.