This is the revision history for open file in <*:##NULL>
factoid_id | subject | copula | predicate | author | namespace |
---|---|---|---|---|---|
7766 | open file | is | please don't write open FILE, ...; - since 5.6 you can do open my $fh, "<", $filename or die ..$!..; to use a lexical rather than a global name, which is a much better way to do it (and don't forget the or die at the end either!) And make sure you use three-args open instead of two args. | f00li5h | |
6138 | open file | is | please don't write open FILE, ...; - since 5.6 you can do open my $fh, "<", $filename or die...; to use a lexical rather than a global name, which is a much better way to do it (and don't forget the or die at the end either!) And make sure you use three-args open instead of two args. | rindolf | |
6137 | open file | is | see open FILE | mst | |
6136 | open file | is | please don't write open FILE, ...; - since 5.6 you can do open my $fh, "<", $filename or die...; to use a lexical rather than a global name, which is a much better way to do it (and don't forget the or die at the end either!) And make sure you use three-args open instead of two args. | rindolf | |
5720 | open file | is | please don't write open FILE, ...; - since 5.6 you can do open my $fh, ...; to use a lexical rather than a global name, which is a much better way to do it (and don't forget the or die at the end either!) | perlbot |