in reply to Re: Getting function name
in thread Getting function name

And an application of caller() might look like this
sub testFunc { print &getFuncName(); } sub getFuncName { return (caller(1))[3]; } testFunc(); __output__ main::testFunc

HTH

_________
broquaint

Replies are listed 'Best First'.
Re: Re: Re: Getting function name
by shotgunefx (Parson) on Dec 31, 2002 at 14:14 UTC
    ++, was pressed for time.

    -Lee

    "To be civilized is to deny one's nature."