[Israel.pm] Getting the function name

Yaron Golan yargolan at gmail.com
Thu Aug 18 04:45:53 PDT 2005


Hi,
I am trying to verify that I have passed over all the functions in the code.
Is there a quick way to tell the function name I am in?

e.g.

&function1;

sub function1 {
  print "function 'function1' - start\n";
  ... do something ...
  print "function 'function1' - end\n";
}




More information about the Perl mailing list