Thread Dateien ersetzen
(14 answers)
Opened by theresa at 2007-09-24 16:08
besser noch
Code (perl): (dl
)
1 2 3 use Fcntl qw/O_WRONLY O_TRUNC/; sysopen my $fh, $datei, O_WRONLY | O_TRUNC or die $!; im ersten Beispiel mit open wird die Datei angelegt, falls es sie noch nicht gibt, das möchte man gegebenfalls nicht... What is a good module? That's hard to say.
What is good code? That's also hard to say. One man's Thing of Beauty is another's man's Evil Hack. |