Help for this page

Select Code to Download


  1. or download this
    perl -MO=Deparse,p -E 'sub one {1} sub two {2} say <ampersand-part>'
    
  2. or download this
    one&two      : say one(&two);
    &one&two     : say &one & two();
    &one&&&two   : say &one && &two;
    &&&one&&&two : &two if say $_ and &one;
    
  3. or download this
    use feature 'current_sub', 'bitwise', 'evalbytes', 'fc', 'postderef_qq
    +', 'say', 'state', 'switch', 'unicode_strings', 'unicode_eval';
    sub one {
    ...
    sub two {
        2;
    }
    
  4. or download this
    -e syntax OK