Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Use of Carp outside of package won't compile...

by benizi (Hermit)
on Dec 20, 2007 at 06:06 UTC ( #658070=note: print w/replies, xml ) Need Help??


in reply to Use of Carp outside of package won't compile...

How could I determine what is necessary for other "use" statements?

As a general rule, pragmas start with lowercase letters while modules start with uppercase letters. The two are different, as well-explained in previous replies. But looking at the first letter usually tells you which you're dealing with. After a while, you'll get used to the convention. Perl doesn't enforce this, but it's standard, common, and good practice.

  • Comment on Re: Use of Carp outside of package won't compile...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://658070]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2022-08-17 20:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?