Help for this page

Select Code to Download


  1. or download this
    $ perl -MO=Deparse -e 'tied sub {}->()'
    tied {sub {
    ...
    }
    }->();
    -e syntax OK
    
  2. or download this
    $ perl -e 'tied { sub {} }->()'
    Not a subroutine reference at -e line 1.
    
  3. or download this
    $ perl -e 'tied { sub {}->() }'
    Can't modify anonymous hash ({}) in tied at -e line 1, at EOF
    Execution of -e aborted due to compilation errors.