Thread next LABEL in Subroutinen: gibt es feinere Lösungswege?
(9 answers)
Opened by bloonix at 2006-12-13 15:17
[quote=nepos,13.12.2006, 14:26]Warum nicht so:
Code (perl): (dl
)
unless(open (my $fh1, '<', "$file1")) { ... Fehlerbehandlung ...} Das wäre das gleiche... was in do { ... } steht, würde ebenso in unless () { ... } stehen. 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. |