CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
Whats special about Carp

 



joey122
Novice

Sep 30, 2008, 2:08 PM

Post #1 of 2 (267 views)
Whats special about Carp Can't Post

How comes you can do this ?

use Carp

croak....

I would have thought you needed to do : use Carp qw(croak)

or Carp::croak

What am I missing?


KevinR
Veteran


Sep 30, 2008, 3:11 PM

Post #2 of 2 (265 views)
Re: [joey122] Whats special about Carp [In reply to] Can't Post

The module must export croak by default. I think it exports "confess croak carp" by default. You could test that if you wanted to.
-------------------------------------------------

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives