Help for this page

Select Code to Download


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