Help for this page

Select Code to Download


  1. or download this
    $ perl -c -e'3/0'
    -e syntax OK
    
    $ perl -e'3/0'
    Illegal division by zero at -e line 1.
    
  2. or download this
    $ perl -e'chop "fred"'
    Can't modify constant item in chop at -e line 1, at EOF
    Execution of -e aborted due to compilation errors.
    
  3. or download this
    $ perl -e'"fred" = $_'
    Can't modify constant item in scalar assignment at -e line 1, at EOF
    Execution of -e aborted due to compilation errors.