Next | The Perl Hardware Store | DC.pm Version | 53 |
Writing require Carp; Carp::croak(...) everywhere is a pain.
Too verbose.
If you have a lot of calls to croak, try this instead:
sub croak { require Carp; *croak = \&Carp::croak; goto &croak; }
Next | Copyright © 2003 M. J. Dominus |