in reply to using Carp & CGI::Carp?
Which version of Carp are you using? I've just looked in 5.5.3, 5.6.0, and 5.8.0 and all three use Exporter, so they'll inherit import(). It was slightly broken in 5.6.0 (with lots of error messages from Carp::Heavy), so you might be running afoul of something else.
Personally, I'd use require and import inside of a BEGIN, just as you describe. Can you post some test code?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: using Carp & CGI::Carp?
by aturner (Initiate) on Mar 24, 2003 at 19:36 UTC | |
by chromatic (Archbishop) on Mar 24, 2003 at 19:50 UTC |