http://qs1969.pair.com?node_id=658070


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.