Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    BEGIN { $b = \&tst }              
    say &$a;
    say &$b;
    
  2. or download this
    perl false_postive_redefine.pl
    Subroutine tst redefined at false_postive_redefine.pl line 7.
    1
    2
    
  3. or download this
    use feature "try";
    use constant CHECK_HINTHASH => 0;
    ...
    BEGIN { check_hinthash() }    # feature enabled
    
    # try { ... };  <-- would fail