The Exception::Class::throw method saves the line number like "die". To save the line number like "croak", I have to use croak.
... becomes ...MYException->throw();
Is there a more elegant solution?croak(MyException->new());
In reply to Exception::Class croak? by esharris
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |