in reply to subroutine introspection

You can get the prototype of a function as:
prototype \&foo;
I leave it up to you to parse the prototype (which has been enhanced in recent Perl versions).

Replies are listed 'Best First'.
Re^2: subroutine introspection
by misterb101 (Sexton) on Dec 22, 2010 at 19:29 UTC
    I have been programming Perl for 15 years... and I never knew this amazingly simple function.... Thanks for enlightening me :D
    --
    Cheers,
    Rob