package Carpy; use strict; use warnings; use Carp (); sub import { my $caller = caller; no strict 'refs'; *{$caller . "::warn1"} = \&{"Carp::carp"}; *{$caller . "::warnfull"} = \&{"Carp::cluck"}; *{$caller . "::die1"} = \&{"Carp::croak"}; *{$caller . "::diefull"} = \&{"Carp::confess"}; } 1;
In reply to Re: I never remember the Carp function names
by JavaFan
in thread I never remember the Carp function names
by metaperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |