Thread "or die $!" bei Funktionsaufruf
(16 answers)
Opened by bloonix at 2006-05-18 16:42
[quote=opi,18.05.2006, 15:54]
Code: (dl
)
test111->do_open($liste) or die $!; das or die $! ist hier überflüssig. do_open() stirbt sowieso. Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: ![]() ![]() |