- or download this
package My;
print "Loading...\n";
sub Run { print "Running\n" }
- or download this
use My;
delete $INC{"My.pm"};
...
require My;
eval "My::Run()";
My::Run();
- or download this
Loading...
Loading...
Running
Undefined subroutine &My::Run called at -e line 1.
- or download this
use My;
delete $INC{"My.pm"};
...
require My;
eval "My::Run()";
My::Run();
- or download this
Loading...
Loading...
Running
Running
- or download this
use My;
<STDIN>; # NEW
...
require My;
eval "My::Run()";
My::Run();
- or download this
Loading...
Loading...
Running again
Running
- or download this
Loading...
Loading...
Running again