> >sub dump_functions {
> > use Class::Inspector;
> > my $r = ref $_[0];
> > return [ grep /^$r/, @{
> >Class::Inspector->methods($r,'full','public')} ] }
>
> Yeah. The 'return' keyword can even be left out.Nice! I'll leave it in for readability I think. Wouldn't it need a ';' at the end? [ grep ...... ]; Or am I once again missing something I should know? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
