Help for this page

Select Code to Download


  1. or download this
    use MightyMod;
    use XML::Simple;
    my $y = BadSub(0);
    my $z = GoodSub(0);
    print "$y $z";
    
  2. or download this
    package MightyMod;
    use strict;
    ...
        return 42 + LostSub(@_);
    }
    1;
    
  3. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    foreach (sort keys %{$h{subused}}) {
      print "$_\n" unless $h{subdef}{$_};
    }
    
  4. or download this
    $ ./Find_Undefined_Subroutines.pl test.pl
    BadSub
    LostSub