>>>>> "LW" == Larry Wall <[EMAIL PROTECTED]> writes:
LW> On Mon, Mar 07, 2005 at 09:49:04PM -0800, David Storrs wrote: LW> : Is there a way to find the name of &?SUB ? It would be useful for LW> : error-logging and -reporting. LW> $?SUBNAME, I think, unless &?SUB just stringifies to that. I guess LW> it's a good question whether &foo should stringify to "foo" or LW> "&foo" or something else including the signature. In which case, LW> &?SUB might stringify to a lot of info, and $?SUBNAME would more LW> reliably be just the short name. Maybe we also need a way to get LW> the long name explicitly. why not leave it as $?SUB but it is an object and you use the .name method? this way you won't clutter the namespace and you can add more methods like .signature, .returns, etc. uri -- Uri Guttman ------ [EMAIL PROTECTED] -------- http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org