Home > Archive > PERL Beginners > August 2006 > Re: [Bulk] RE: Totally lost - need a starting point
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: [Bulk] RE: Totally lost - need a starting point
|
|
|
| Yes I have a perl script running inside of the expect script, which works
fine. I need to find a way to call the expect script and output the perl to
the html page that is calling it. I found a version of expect for perl, but
it didn't seem to be able to get the results that I was looking for, being
able to telnet into a terminal and offer up passwords and such. then run
another perl script that was picked as an option.
Helen
----- Original Message -----
From: "Charles K. Clarkson" <cclarkson@htcomp.net>
To: <beginners@perl.org>
Sent: Wednesday, August 30, 2006 10:16 PM
Subject: [Bulk] RE: Totally lost - need a starting point
> Helen wrote:
>
> : I am starting from scratch again reading the manual more
> : completely. I am just running out of time on my deadline.
>
> Break down your task into small pieces and solve for
> those pieces. The first piece I can see is running an Expect
> script from a perl program. Do you know how to do that?
>
> I have no idea what Expect is, but searching for
> 'expect' and 'perl' in Google revealed a perl module for
> expect.
>
> The other pieces of your problem might include getting
> form values from an HTML form. CGI.pm can help with that.
>
>
> HTH,
>
> Charles K. Clarkson
> --
> Mobile Homes Specialist
> Free Market Advocate
> Web Programmer
>
> 254 968-8328
>
> Don't tread on my bandwidth. Trim your posts.
>
>
> --
> To unsubscribe, e-mail: beginners-unsubscribe@perl.org
> For additional commands, e-mail: beginners-help@perl.org
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
>
>
| |
| Charles K. Clarkson 2006-08-31, 6:57 pm |
| Helen wrote:
: Yes I have a perl script running inside of the expect script,
: which works fine. I need to find a way to call the expect
: script and output the perl to the html page that is calling it.
Perl needs to print to STDOUT to send information to the
browser via CGI. Calling an Expect script via CGI is an Expect
question, not a perl question. Perhaps you need to ask your
question on an Expect mailing list. I did find this on the Expect
FAQ.
http://expect.nist.gov/FAQ.html#q24
HTH,
Charles K. Clarkson
--
Mobile Homes Specialist
Free Market Advocate
Web Programmer
254 968-8328
Don't tread on my bandwidth. Trim your posts.
|
|
|
|
|