Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    
    sub a{ 1 };
    sub a{ 2 };
    
  2. or download this
    $ perl -Mdiagnostics x
    Subroutine a redefined at x line 6 (#1)
    ...
            eval "sub name { ... }";
            }