Re: php's __FUNCTION__ equivalent in Perl

2007-01-02 Thread Ovid
--- Bram Kuijper <[EMAIL PROTECTED]> wrote: > Hi all, > > Is there some type of equivalent to PHP's __FUNCTION__ magical > constant > in Perl, with which you can get the current function's name within > the > function's body? > > The list of perl predefined variables from Larry Wall's book doe

php's __FUNCTION__ equivalent in Perl

2007-01-02 Thread Bram Kuijper
Hi all, Is there some type of equivalent to PHP's __FUNCTION__ magical constant in Perl, with which you can get the current function's name within the function's body? The list of perl predefined variables from Larry Wall's book does provide a __FILE__ constant, but apparently a __FUNCTION__