Re: (simple) cgi.pm question

2001-10-16 Thread RaFaL Pocztarski
Shannon Murdoch wrote: > print OUTFILE > "$entrynumber\t$params{q1_1}\t$params{q1_2}\t$params{q1_3}\t$params{q1_4}\t$ > params{q1_5}\t$params{q1_6}\t$params{q1_7}\t$params{q1_8}\t$params{q1_9}\t$p > arams{q1_10}\t$params{q1_11}\t$params{q1_12}\t$params{q1_13}\t$params{q1_14} > \t$params{q1_15}\t$

Re: (simple) cgi.pm question

2001-10-16 Thread Brett W. McCoy
On Tue, 16 Oct 2001, Shannon Murdoch wrote: > So the script halves in size and now becomes: > print OUTFILE > "$entrynumber\t$params{q1_1}\t$params{q1_2}\t$params{q1_3}\t$params{q1_4}\t$ > params{q1_5}\t$params{q1_6}\t$params{q1_7}\t$params{q1_8}\t$params{q1_9}\t$p > arams{q1_10}\t$params{q1_11}

mail help?

2001-10-16 Thread Gareth Londt
hi i have a problem! i am using the Mail::Sendmail module and well i have it working all nicley and stuff but this is were it doent work the way i want it to. Firstly i have a text area that needs to filled in with a few email addresses, but when i use the regexp for this value in the text a

Auto Submit

2001-10-16 Thread Wagner Garcia Campagner
Hi, I have a weird question and i don't know if it is possible to be done, but... let's try. I have a login page and then i send the user and the password to another script that analyse this information. What i want to do in this script is the following: If the user is not user1 or user2 i wil

somone please help

2001-10-16 Thread Gareth Londt
can someone please help me with this problem? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: somone please help

2001-10-16 Thread RaFaL Pocztarski
Gareth Londt wrote: > can someone please help me with this problem? Well... It strongly depends on your problem.. :) - RaFaL Pocztarski, [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Error: Pseudo-terminal will not be allocated because stdin is not a terminal.

2001-10-16 Thread _brian_d_foy
In article <017501c155cb$0c286320$[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Chuck) wrote: > I am having a hell of a time getting something to work; > my $cmd = "/bin/ssh -l cci $host \"df -b | grep root | grep -v grep\""; > @results = `$cmd`; have you tried Net::SSH? http://search.cpan.org/s

Re: Parsing HTTP links

2001-10-16 Thread Brett W. McCoy
On Tue, 16 Oct 2001 [EMAIL PROTECTED] wrote: > I need to parse out all http links stored in a local file. > How would I go about doing this? > > which modules would I need to use? Take a look at HTML::Parser, which is available from CPAN. -- Brett http:

Re: Parsing HTTP links

2001-10-16 Thread RaFaL Pocztarski
[EMAIL PROTECTED] wrote: > I need to parse out all http links stored in a local file. > How would I go about doing this? > > which modules would I need to use? You mean HTML links. use HTML::LinkExtor from: http://search.cpan.org/search?dist=HTML-Parser or HTML::SimpleLinkExtor from: http://sear

Re: Parsing HTTP links

2001-10-16 Thread _brian_d_foy
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Brett W. McCoy) wrote: > On Tue, 16 Oct 2001 [EMAIL PROTECTED] wrote: > > I need to parse out all http links stored in a local file. > > How would I go about doing this? > > which modules would I need to use? > Take a look at HTML::Parser, w

Re: Error: Pseudo-terminal will not be allocated because stdin is not a terminal.

2001-10-16 Thread Chuck
Dude, thanks a bunch. That module rocks. This provided soluitions to several other problems I had as well. Thanks man, Chuck - Original Message - From: "_brian_d_foy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 16, 2001 6:56 AM Subject: Re: Error: Pseudo-terminal w

configuring apache to run cgi -perl on win32 system

2001-10-16 Thread rabs
Subject: configuring apache to run cgi -perl on win32 system > Hello, thank you for taking the time to read this, I hope you can help, I > have downloaded the release of Apache/1.3.20 to run on windows 98. I wish > to run perl cgi so I have made the following changes to the httpd.config > fi

CPAN error, MD5 is not loaded

2001-10-16 Thread Chuck
I keep getting this error when installing modules via CPAN: #perl -MCPAN -e shell cpan> install Crypt::DSA::Key::SSH2 Can't locate object method "new" via package "MD5" (perhaps you forgot to load "MD5"?) at /usr/lib/perl5/5.6.1/CPAN.pm line 4212. It has done this for several modules now. I ju

user name

2001-10-16 Thread nayyreh atabakhsh
I am beginner at perl programming ,and I want to a write a program that the user should not be allowed to enter a blank name or answer. That is, continue asking for their name until they type in at least one character. thank you for help __ Do

Re: configuring apache to run cgi -perl on win32 system

2001-10-16 Thread Gunther Birznieks
You'll need to change your shebang line to #!c:/perl/bin/perl.exe instead of #!/usr/local/bin/perl or something like that. Search the past archives on this list (assuming there are any) as this question has definitely come up in the last 3 months before. At 01:06 AM 10/17/01, rabs wrote:

Multi-page CGI Form

2001-10-16 Thread Justin Howell
OK, I'm a newbie trying to do things in perl that are smarter than I am. I'm working on a CGI clock-in program for where I work, and I want it to be one CGI script with multiple pages, each a step in the clocking in process (gathering different bits of info and confirming). I got the idea of

Re: to activate URL

2001-10-16 Thread Keith C. Ivey
Sunthari <[EMAIL PROTECTED]> wrote: > print $q->a({href=>$urlresult},); >OR > print $q->a({href=>$results->url,"\n"}); If you want to make a link, you have to supply some link text, not just a URL. If, for example, you want the link text to be the URL itself, you n

Re: user name

2001-10-16 Thread RaFaL Pocztarski
nayyreh atabakhsh wrote: > I am beginner at perl programming ,and I want to a > write a program that the user should not be allowed > to enter a blank name or answer. That is, continue > asking for their name until they type in at least one > character. Use something like this: my $name;

Re: Multi-page CGI Form

2001-10-16 Thread RaFaL Pocztarski
Justin Howell wrote: > OK, I'm a newbie trying to do things in perl that are smarter than I am. > I'm working on a CGI clock-in program for where I work, and I want it > to be one CGI script with multiple pages, each a step in the clocking in > process (gathering different bits of info and confir

Parsing HTTP links

2001-10-16 Thread Greg . Froese
I need to parse out all http links stored in a local file. How would I go about doing this? which modules would I need to use? TIA Greg