where does one put use strict

Scott Penrose scottp at dd.com.au
Wed Oct 2 03:57:18 CDT 2002


With a little research and chatting and experimenting I have discovered 
the following.

'use X' before package puts the name space within the previous module 
(the one that called it).
However PRAGMA such as 'use strict', 'use warnings' etc are all File 
Based, specifically to do with compile time options.

That being said however, the only thing this protects is the 
possibility of a non-strict package line.

Thanks for those who replied.

Scott
-- 
Scott Penrose
VP in charge of Pancakes
http://linux.dd.com.au/
scottp at dd.com.au

Dismaimer: If you receive this email in error - please eat it 
immediately to prevent it from falling into the wrong hands.




More information about the Melbourne-pm mailing list