Thread problem mit lexikalischen variablen (17 answers)
Opened by kabel at 2003-08-06 01:23

pq
 2003-08-06 15:21
#59561 #59561
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
[quote=kabel,06. 08 2003,13:05]if (before ($tags_definition, $call_to->("check_link"))) {
  $script->works ("no");
} else {
  $script->works ("yes");
}[/quote]
ich weiss nicht, wo dein problem sein soll.
wenn du eine subroutine aufrufst, bevor %tags deklariert
wurde, und diese subroutine %tags braucht, dann kann
das doch nicht gehn...
also ruf die subroutine erst hinterher auf.

ansonsten meinte ich mit code posten einen kleinen
ausschnitt, der das problem reproduziert.
Quote
$reader->notice (what => both_cases, $dispatcher_sub_definition->is_closure (relative_to => $tags_definition));

häh?
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 problem mit lexikalischen variablen