Wrox Programmer Forums
|
ASP Pro Code Clinic As of Oct 5, 2005, this forum is now locked. No posts have been deleted. Please use "Classic ASP Professional" at: http://p2p.wrox.com/forum.asp?FORUM_ID=56 for discussions similar to the old ASP Pro Code Clinic or one of the other many remaining ASP and ASP.NET forums here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP Pro Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 6th, 2003, 10:22 PM
Registered User
 
Join Date: Jun 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Perl from ASP?

Hi -

I have a web site written in (VBscript) ASP with a SQL database.

I would like to use a sub procedure in a Perl module (written by someone else) from within a VBscript ASP page. The sub takes several parameters and returns a result string.

Is there a way to do this within a VBscript ASP page??

My alternative would be having to re-code my ASP page into a Perl page. While possible, I'd like to not have to learn Perl just for this one page. (Re-coding the Perl module into VBscript is not an option.)

Any help, suggestions, and/or sample code would be appreciated.

Thanks.

- Jeff
 
Old December 8th, 2003, 04:54 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

Yes, you can mix languages within one asp page. Just place the perl function in <script language="PerlScript" runat="server"></script> tags somewhere before your VBS that will call the function.

I'm assuming you already have a windows perl interpreter? If you haven't then www.activestate.com is one place where you can get one.

hth
Phil





Similar Threads
Thread Thread Starter Forum Replies Last Post
Perl help ZORCH Perl 3 April 25th, 2007 12:09 PM
perl vidura Perl 6 December 7th, 2006 06:50 AM
Perl + ASP.NET usercontrols .NETamateur Perl 0 September 10th, 2006 03:29 AM
perl jeet Perl 1 March 6th, 2006 05:06 PM
PHP, PERL, HTML, JAVASCRIPT, ASP mani_he PHP How-To 3 February 11th, 2005 06:46 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.