Thanks for the pointer to 'perlstyle' and 'Exporter'.  I shall read, mark
and inwardly digest.

But I don't understand what you mean by C<use>?  (I'm already using strict &
warnings.)

Rgds, GStC.
 

-----Original Message-----
From: Wiggins d'Anconia [mailto:[EMAIL PROTECTED] 
Sent: Saturday, January 22, 2005 11:02 AM
To: Graeme St. Clair
Cc: beginners@perl.org
Subject: Re: Naming Convention?

Graeme St. Clair wrote:
> Is there any common convention governing names of variables defined in 
> a 'require'd 'blah.pl'?  I'd like to make use of such variables 
> detectable to the naked eye in the scripts that 'require blah.pl'.
>  
> Rgds, GStC.
>  
> 

Well you should consider using C<use> and making it a proper module. 
Then use the Exporter if you still have to pollute namespaces.  Don't just
throw everything in main::.  Turn on 'strict' and 'warnings'.

To your question, check out:

perldoc perlstyle

http://danconia.org

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to