Howdy List!
I'm writing a simple module to return a few variables and functions.
The perldoc perlmod* stuff says I should use Carp; and call that instead of warn().
So..
1)
If I use Carp shoud I still use warnings; in the package?
2)
If I understand it correctly the preffered way would be to do:
use Carp;
...
carp("Watch your monkey");
Instead of:
...
warn("Watch your monkey");
Is that a correct assumption?
3)
Should I just do
use Carp(carp);
Since I'll only be calling carp() ( assuming carp() is warn()'s replacement in Carp.pm
)
TIA
Dan
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]