Help for this page

Select Code to Download


  1. or download this
    > perl -wle "sub foo {}; eval { foo()='baz' }"
    Can't modify non-lvalue subroutine call in scalar assignment at -e lin
    +e 1, near "'baz' }"
    Execution of -e aborted due to compilation errors.
    
  2. or download this
    > perl -wle "sub foo:lvalue {}; eval { foo()='baz' }"