Re: How to call perl programs from ASP page

2004-01-29 Thread Robin Sheat
On Thu, Jan 29, 2004 at 09:17:31PM -0800, R. Joseph Newton wrote: > Learn Perl, then apply it to real-world problems. Forgive me drifting topic a little, but I disagree to an extent here. I learnt perl by applying to real world problems. The first being a data-mining application, the second being

Re: How to call perl programs from ASP page

2004-01-29 Thread R. Joseph Newton
PerlDiscuss - Perl Newsgroups and mailing lists wrote: > This is what that gets me: > > Error Type: > PerlScript Error (0x80004005) > Global symbol "$Server" requires explicit package name Scrch!--Boom, crash!! Hold it, you had folks on a complete red herring here. Compiler errors are a muc

RE: How to call perl programs from ASP page

2004-01-26 Thread Bakken, Luke
> This is what that gets me: > > Error Type: > PerlScript Error (0x80004005) > Global symbol "$Server" requires explicit package name > You have a syntax error in your perl program. Try running "perl -c" on it from the command line. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

RE: How to call perl programs from ASP page

2004-01-26 Thread Charles K. Clarkson
Pete <[EMAIL PROTECTED]> wrote: : : This is what that gets me: : : Error Type: : PerlScript Error (0x80004005) : Global symbol "$Server" requires explicit package name Sorry, that's a perl error. $Server is provided by ASP. You need to add $Server to the 'our' statement. The whole thing sh

Re: How to call perl programs from ASP page

2004-01-26 Thread PerlDiscuss - Perl Newsgroups and mailing lists
This is what that gets me: Error Type: PerlScript Error (0x80004005) Global symbol "$Server" requires explicit package name > Sounds like perl is not starting automatically. Try this: > my $file_path = $Server->MapPath( "/ASPtoPerl/MakeFile.pl" ); > my $exit_status = system_call

RE: How to call perl programs from ASP page

2004-01-26 Thread Charles K. Clarkson
Pete <[EMAIL PROTECTED]> wrote: : : Hi Charles : : Still no luck... : : I tried: : system_call_test( 'C:\Inetpub\wwwroot\ASPtoPerl\MakeFile.pl') : system_call_test( 'C:/Inetpub/wwwroot/ASPtoPerl/MakeFile.pl') : : I even moved the File to the "scripts" folder and tried: : system_call_test( 'C:\I

RE: How to call perl programs from ASP page

2004-01-26 Thread Bakken, Luke
04 9:05 AM > To: [EMAIL PROTECTED] > Subject: Re: How to call perl programs from ASP page > > > Hi Charles > > Still no luck... > > I tried: > system_call_test( 'C:\Inetpub\wwwroot\ASPtoPerl\MakeFile.pl') > system_call_test( 'C:/Inetpub/wwwroot/ASPtoPe

Re: How to call perl programs from ASP page

2004-01-26 Thread PerlDiscuss - Perl Newsgroups and mailing lists
Hi Charles Still no luck... I tried: system_call_test( 'C:\Inetpub\wwwroot\ASPtoPerl\MakeFile.pl') system_call_test( 'C:/Inetpub/wwwroot/ASPtoPerl/MakeFile.pl') I even moved the File to the "scripts" folder and tried: system_call_test( 'C:\Inetpub\Scripts\MakeFile.pl') Any more ideas ? Thanks f

RE: How to call perl programs from ASP page

2004-01-26 Thread Charles K. Clarkson
Pete <[EMAIL PROTECTED]> wrote: : : Hey Charles, : This is what your script returned : : Executing this: 'MakeFile.pl' : : 'system' returned: 'No such file or directory' : : : What's the next step ? Try using the full path to MakeFile.pl. Something like: system_call_test( 'c:/complete/

Re: How to call perl programs from ASP page

2004-01-26 Thread PerlDiscuss - Perl Newsgroups and mailing lists
Hey Charles, This is what your script returned Executing this: 'MakeFile.pl' 'system' returned: 'No such file or directory' What's the next step ? Pete -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How to call perl programs from ASP page

2004-01-25 Thread Charles K. Clarkson
PerlDiscuss - Perl Newsgroups and mailing lists <[EMAIL PROTECTED]> wrote: : : Hi, : I'm new to Perl and I'm trying to excute/call a perl program from : Perl Script in an ASP page. I've loaded ActivePerl v5.6 on my : Microsoft Win2000 webserver and I can execute lots of Perl code : in my ASP pages

How to call perl programs from ASP page

2004-01-25 Thread PerlDiscuss - Perl Newsgroups and mailing lists
Hi, I'm new to Perl and I'm trying to excute/call a perl program from Perl Script in an ASP page. I've loaded ActivePerl v5.6 on my Microsoft Win2000 webserver and I can execute lots of Perl code in my ASP pages with no problem, but I need to call an external program and don't know the correct syst