I'm not sure how daunting it would be to parse VBScript or JavaScript, but
how about a more useful (if more complex) program: write a perl program to
go through all of your VBScript programs and rewrite them in a clearer, more
powerful, easier to maintain language such as, I don't know, maybe perl? d:)

Barry

----
Barry Hemphill
[EMAIL PROTECTED]
Course Developer/Instructor

"Human beings, who are almost unique in having the ability to learn from the
experience of others, are also remarkable for their apparent disinclination
to do so."
-- Douglas Adams, Last Chance to See


> -----Original Message-----
> From: Arthur Cohen [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 09, 2001 9:56 AM
> To: [EMAIL PROTECTED]
> Subject: Managing ASP code
> 
> 
> 
> 
> Howdy all;
> 
> 
> 
> I'm wondering if anyone has ever used a perl tool to manage
> 
> (non-PerlScript) ASP files? Specifically, I'm thinking of a 
> script that
> 
> would spider through my website and check for missing include 
> files and
> 
> such (by checking to see whether all variables and functions were
> 
> defined). "Option Explicit" isn't a good option for me because most of
> 
> our ASP pages are written in server-side JavaScript. 
> 
> 
> 
> I'm thinking that it would be very perl-ish to scan through the files,
> 
> split each line into words and check whether each identifier 
> (variables
> 
> and functions) had been properly defined, but I'm not sure if the task
> 
> of parsing JScript and VBScript code is too daunting or not. 
> Anyone else
> 
> ever try it?
> 
> 
> 
> Thanks,
> 
> 
> 
> --Art
> 
> _______________________________________________
> ActivePerl mailing list
> [EMAIL PROTECTED]
> http://listserv.ActiveState.com/mailman/listinfo/activeperl
> 


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
the latest virus scan software available for the presence of computer viruses.

**********************************************************************
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl

Reply via email to