Thread my $dingens
(2 answers)
Opened by Gast at 2007-05-22 23:25
"my" sollte man nicht weglassen, da dieses Schlüsselwort der Deklaration einer Variablen dient.
Ein kleines Beispiel: läuft ohne use strict und use warnings. Aber mit den beiden Kontrollbefehlen ergibt es diese Fehlermeldung: Global symbol "$z" requires explicit package name at my_expl.pl line 5. Global symbol "$z" requires explicit package name at my_expl.pl line 6. Execution of my_expl.pl aborted due to compilation errors. Und wem die Perllektüre nicht reicht: freie ebooks zu Perl Gruss MisterL “Perl is the only language that looks the same before and after RSA encryption.”
|