Thread File::Path -->mkpath (7 answers)
Opened by Andreas at 2006-01-09 16:55

bloonix
 2006-01-09 22:17
#61592 #61592
User since
2005-12-17
1615 Artikel
HausmeisterIn
[Homepage]
user image
[quote=opi,09.01.2006, 19:14]
Code: (dl )
print "$!\n" unless mkdir "$dir";
[/quote]
Natürlich ist die print-Anweisung nur sinnvoll, wenn das Skript nicht
beendet werden soll. Ansonsten mit "die" arbeiten oder das mkdir in eine
if-Bedingung packen.
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.

View full thread File::Path -->mkpath