Thread Undifined value as a symbol reference (10 answers)
Opened by Gast at 2004-08-19 18:08

Strat
 2004-08-19 22:26
#3513 #3513
User since
2003-08-04
5246 Artikel
ModeratorIn
[Homepage] [default_avatar]
1. immer fehler abfangen, wenn irgendwo welche entstehen koennen (das duerfte der fehler sein)
2. der tip mit local ist schrott; da besser my verwenden
Code: (dl )
1
2
3
4
5
6
7
8
9
use FileHandle;
my $fh = FileHandle->new("> $file");
unless ($fh) {
 die "Error: couldn't create '$file': $!\n";
}
else {
 print $fh "irgendwas\n";
 $fh->close();
} # else
\n\n

<!--EDIT|Strat|1092940026-->
perl -le "s::*erlco'unaty.'.dk':e,y;*kn:ai;penmic;;print"
http://www.fabiani.net/

View full thread Undifined value as a symbol reference