- or download this
my $module = do {
open(my $fh, '<', 'Module.pm')
...
eval $module or warn $@;
$module =~ s/^for;$/#for;/m;
eval $module or warn $@;
- or download this
use strict;
use warnings;
...
sub two { }
1;
- or download this
Subroutine one redefined at (eval 2) line 6.
- or download this
use strict;
use warnings;
...
END { print("END2\n"); }
1;
- or download this
END2
END1
END1
- or download this
use strict;
use warnings;
...
BEGIN { print("BEGIN2\n"); }
1;
- or download this
BEGIN1
- or download this
BEGIN1
BEGIN2
- or download this
use strict;
use warnings;
...
for;
1;
- or download this
Creating
- or download this
Subroutine new redefined at (eval 2) line 8.
Subroutine DESTROY redefined at (eval 2) line 9.
Creating
Destroying
Destroying