Help for this page

Select Code to Download


  1. or download this
    my @subs = grep { defined &{ $_ } } keys %Your::Package::;
    
  2. or download this
    package Foo; 
    
    ...
    package Bar; 
    my @subs = grep { defined &{ "Foo::$_" } } keys %Foo::; 
    print join "\n", @subs;