Help for this page

Select Code to Download


  1. or download this
    $ perl -se 'print $foo' -foo=bar  
    Unrecognized switch: -foo=bar  (-h will show valid options).
    
  2. or download this
     
    perl -e -s 'print $foo' -foo=bar
    
  3. or download this
    $ perl -es 'print $foo' -foo=bar  
    Substitution pattern not terminated at -e line 1.
    
    $ perl -e -s -foo=bar 'print $foo'
    Unrecognized switch: -foo=bar  (-h will show valid options).
    
  4. or download this
    $ perl -e 'print $='     
    60