Hi,
Why quoting the parameter to croak? "$_[0]" -> $_[0]
I don't see the problem:
cucu.pmt.plpackage cucu; use strict; use Carp (); sub error { Carp::croak @_; } 1;
use strict; use cucu; ty(); sub ty { cucu::error('blabla'); }
Regards,
In reply to Re^2: Carp croak not working when used in an imported function
by fmerges
in thread Carp croak not working when used in an imported function
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |