Help for this page

Select Code to Download


  1. or download this
    > perl -wle "sub foo { print 'In foo' }; my $func='foo'; &$func"
    In foo
    
  2. or download this
    > perl -Mstrict -wle "sub foo { print 'In foo' }; my $func='foo'; &$fu
    +nc"
    Can't use string ("foo") as a subroutine ref while "strict refs" in us
    +e at -e line 1.