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

Tkil tkil at scrye.com
Thu Jul 25 17:59:53 CDT 2002

>>>>> "dcs" == dcstevens  <Earthlink> writes:

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

perldoc -f caller

More information about the Pdx-pm-list mailing list