Thread sub name anzeigen lassen (1 answers)
Opened by futhark at 2010-11-26 13:24

pq
 2010-11-26 13:34
#143069 #143069
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
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: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread sub name anzeigen lassen