Thread sub name anzeigen lassen
(1 answers)
Opened by futhark at 2010-11-26 13:24
my $subname = ( caller(0) )[3];
siehe http://p3rl.org/caller Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wie frage ich & perlintro brian's Leitfaden für jedes Perl-Problem |