O enlightened ones, here is my question:
I am going through the llama book (which, by the way, is the most useful
tool
I have bought so far for perl reference) in order to learn perl. On page 10
is a simple script which I copied and have attempted to execute for the last
1/2 hour. Please tell m
Roger G. Romeril replied to an email about test sites for cgi scripts. He
mentioned that instead, it would be better to get a stripped down pc and
load Linux, perl, and apache and play with that. Well, I decided to do just
that. While the suggestion wasnt specifically aimed at me, I thought th
Im sure I could get flamed for this, but I just successfully wrote my first
program! Yaaahhh!
## perl
#!c:/perl/bin/perl -w
print STDOUT "Enter a number: ";
chop($number = );
print STDOUT "Enter a multiplier: ";
chop($mult = );
$result = $number * $mult;
print STDOUT
7.12.2001
Dear Sirs,
I have been using an html form for gathering information to use in order to
give customers quotes on our products. I have the fields validated on the
clients browser (javascript) before submission to the server. The form is
then parsed by formmail.pl, a script the host prov
Thanks a bunch for everyones input; I didnt have to wait long at all
to receive an answer from all of you knowledgeable people. A few questions:
What smtp server software would you recommend I use to send email to
myself (localhost)? I have win98se, apache, activestate_perl.
And,
To the Plethora Of Perl Programmers (P.O.P.P), I seek your guidance.
First of all, can you tell me what is wrong with this script other than
neglecting to use strict. (Im learning)
From the command prompt, it says:
Syntax error near $ENV{'REQUEST_METHOD')
Aborted due to compilat
Sorry, forgot the code ;)
To the Plethora Of Perl Programmers (P.O.P.P), I seek your guidance.
First of all, can you tell me what is wrong with this script other than
neglecting to use strict. (Im learning)
From the command prompt, it says:
Syntax error near $ENV{'REQUEST_METHOD
Thanks a bunch for everyones input; I didnt have to wait long at all to
receive an answer from all of you knowledgeable [] people. A few questions:
What smtp server software would you recommend I use to send
email? I have win98se, apache, activestate_perl.
How do I use
Hey all! Thanks for everybodys help so far! Finally got the parsing script
to work! Very excited about that. As a new perl programmer, my confidence is
rising. Just used a cut & paste script, but had to reconfigure. At least I
know what each line of code does (or think I do anyway). Heard that
I am trying to follow some good advice that Randal and Brian
gave me earlier. I have a rather basic question, however.
I want my script to print:
At (current time) on (date), $who submitted a request for a $quote_type
quote.
Thanks to Brian, I have the time aspects all worked out.
Randal, Brian, Stephen,
Thanks a bunch for your help with my parsing script. I appreciate it very
much. Heres another problem:
Why doesnt this do what I think it should do? (I just get Internal server
error)
#!c:/perl/bin/perl -w
use strict;
use CGI qw(param);
my ($who,$quote_type,$key)
Hi! Gotta question.
I wrote this script to parse an html form that I have on localhost. I want
this script to be able to work on win_nt, win_2k servers (my site host) .
Please tear this script apart! What would you do different? What can I do
better? I was told by some not to use $a and $b as
Dear Sirs,
I first of all wanted to apologize about sending so many redundant questions
to the list. I wasnt aware that my wife was downloading my mail also and I
didnt see all of your replies to previous questions. Wont happen again
;-))
I was reading a reply to a question this morning that
- Original Message -
From: Richard and Bonnie Taft
To: Sent: Tuesday, June 12, 2001 10:18 AM
Subject: Whats my problem, among other things?
TO all you perl faithful who are in the know:
I am trying to test my perl scripts on a win98 machine running PWS. I have all
downloaded and inst
15 matches
Mail list logo