[Pdx-pm] Newbie question ... built-in for subroutine name?

n/a nforrett at wgz.com
Thu Jul 25 17:31:25 CDT 2002


On Thu, 25 Jul 2002, Earthlink wrote:

> I'm trying to find the perl built-in variable for the current subroutine name (the analog to __FUNCTION__ in gcc), so that I can pass the name to a calling function, as in 
> the code below. I've looked through the Coriolis and O'Reilly texts, and at several on-line FAQs. Anyone know what it's called?

perldoc -f caller

-- Nick


 ,--< Nick Forrette >--------------------------.
 | e-mail: nforrett at wgz.org                    |
 | www   : http://www.drforehead.net/          |
 `---------------------------------------------'

umop apisdn aje noh






More information about the Pdx-pm-list mailing list