Help for this page

Select Code to Download


  1. or download this
    $ perl -E'try { 1/0 } catch ( $e ) { }; say "ok"'   # Using 5.40
    ok
    
  2. or download this
    $ perl -MTry::Tiny -E'no feature qw( try ); try { 1/0 }; say "ok"'
    ok
    
  3. or download this
    $ perl -Mv5.38 -MTry::Tiny -e'try { 1/0 }; say "ok"'
    ok
    
  4. or download this
    -e'use v5.xx; ...'
    
  5. or download this
    -Mv5.xx -e'...'
    
  6. or download this
    -E'...'   # XXX Not forward-compatible.