Help for this page

Select Code to Download


  1. or download this
        my $sym = Devel::Symdump->new('Foo');
        my @scalars = $sym->scalars;
    ...
        for my $s (@scalars) {
            # do something
        }
    
  2. or download this
        my $class = 'Foo';
        while (my($key, $val) = each %{"${class}::"}) {
    ...
            # for example, look at *ENTRY{CODE} to see
            # if there's a sub called $key.
        }