Thread rostis MVC-Framework für Perl und PHP
(59 answers)
Opened by rosti at 2013-02-07 19:30 2013-02-07T20:31:09 Muffi Nicht atomar: Du hast einen eval{} Block wo eine Exception auftreten kann. Danach fragst Du $@ ab. Das ist jedoch eine globale Variable, die an einer anderen Stelle bereits eine Änderung erfahren haben könnte. use Error implementiert das try/catch Konstrukt, womit ein Exceptionhandling atomar gemacht werden kann. |