Thread Module-Path ermitteln
(8 answers)
Opened by esskar at 2005-04-08 01:03
[quote=esskar,08.04.2005, 00:41]
Code: (dl
)
1 my $name = ""; :)[/quote] iih, wieso denn eval, wenns auch mit symrefs geht: my $name; { no strict 'refs'; $name = ${ $pck.'::Type::'.$basename.'::Name' }; }\n\n <!--EDIT|pq|1112952174--> 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 |