Help for this page

Select Code to Download


  1. or download this
        my $d = *{ 'main::destination::' };
        delete $d->{foo};
    
  2. or download this
      *FOO = sub { print "SUB FOO OK!\n" } ;
      $FOO = 123 ;
    ...
      foreach my $Key ( keys %holder ) { *{$glob} = $holder{$Key} ;}
    }
    
  3. or download this
    >>>>>>>>>> BEFORE RM:
    SUB FOO OK!
    ...
    Undefined subroutine &main::FOO called at tmp.pl line 17.
    CODE: 
    SCALAR: 123