Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Use of Carp outside of package won't compile...by benizi (Hermit) |
on Dec 20, 2007 at 06:06 UTC ( [id://658070]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|