I am trying to use CGI.pm to build a button for a form that has an onClick
method defined that's supposed to make the page reload itself. Here's the
code I'm using (assume strictures and warnings, and that $q = new CGI;):
Current working code:
-
sub tt_write_form () {
#
-Original Message-
From: Chris Devers [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 23, 2005 1:18 PM
To: Tyson Sommer
Cc: 'Perl Beginners List'
Subject: Re: printing output of ping command -- New question
at bottom.
On Wed, 23 Feb 2005, Tyson Sommer wrote
-Original Message-
From: John W. Krahn [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 23, 2005 2:50 PM
To: Perl Beginners
Subject: Re: printing output of ping command -- New question
at bottom.
Tyson Sommer wrote:
This might be a question for beginners-cgi
-Original Message-
From: radhika [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 22, 2005 12:37 PM
To: beginners@perl.org
Subject: Using the perl debugger with options
Hi,
I am a beginner perl programmer (but not exactly a novice)
and am writing
a perl module which is
-Original Message-
From: Chris Devers [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 23, 2005 10:14 AM
To: TapasranjanMohapatra
Cc: Perl Beginners List
Subject: Re: printing output of ping command
On Wed, 23 Feb 2005, TapasranjanMohapatra wrote:
I have a script as
Is there any way to squeeze the following into one line? (assume using
CGI.pm and that my $q = new CGI;):
$device = $q-param( device_name );
$device = $ARGV[0] if ! $device;
$device = default_device if ! $device;
i.e., first see if we're being used with a CGI form, if
Are there any not-so-obvious problems with untainting user input for passing
to the shell with something like (for the sake of simplicity):
# need to be able to use . and - characters as well as
alphanumerics
chomp ( my $input = STDIN );
$input =~ s/[^A-Za-z0-9\-\.]//g;
-Original Message-
From: glidden, matthew [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 17, 2005 10:15 AM
To: 'beginners@perl.org'
Subject: Capturing the results from Expect with backtick
I'm using combined perl and Expect scripts to do the following:
1. ping a host
I need to iterate over a list of data to extract a line that matches a
pattern that I have set in a variable. Is there any way to use variable
substitution within a regular expression? So far, this is all I have been
able to get to work:
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Oops! Accidentally hit ctl-enter rather than ctl-v for paste and sent the
message prematurely...
Then I found the answer while trying to complete this email.
So... Nevermind. Sorry!
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
to the
list and less than a year in the Perl world (but I am fairly familiar with
this subject)...
Regards,
Tyson Sommer, CCNP
Network Support Specialist
First Cash Financial Services, Inc.
MIS Department
--
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Is something awry with perldoc.com? I haven't been able to reach it for a
few days. I get pings back, and the browser says page found, but it never
loads.
Thanks!
Tyson
(noob - 1st post to beginners)
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
12 matches
Mail list logo