one idea is to run the script with strict and save the error report and the
line numbers. the error msg should list all the variable that need to be
declared, then  you could write a regex to go to each one and insert a my in
front. or you can use vi to make the substitutions. 
just an thought.

> -----Original Message-----
> From: Murli Nair [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 18, 2002 6:16 PM
> To: [EMAIL PROTECTED]
> Subject: Script for making declarations
> 
> 
> Hi!!
> I had send this request some time back and I am still looking 
> for a code that will help me make declarations. If you use 
> strict then every variable has to be declared using my and 
> that is what I want to achieve. Let me know if anyone has
> as script that does this.
> Thanks and cheers always!!
> Murli
> 
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to