Re: Testing my CGI

2014-11-04 Thread John SJ Anderson
7:30 AM, Patton, Billy N wrote: > I’m using WWW::Mechanize for testing my CGI. > I’m having trouble with the $mech->tick > > Here’s my code : > ok($mech->form_name('cdr_format'),"getting form cdr_format"); > print "pAllFields = " . $mech->valu

Testing my CGI

2014-11-04 Thread Patton, Billy N
I’m using WWW::Mechanize for testing my CGI. I’m having trouble with the $mech->tick Here’s my code : ok($mech->form_name('cdr_format'),"getting form cdr_format"); print "pAllFields = " . $mech->value('pAllFields') . "\n"; 219-> o

Re: Testing an array for a match

2008-04-10 Thread John W. Krahn
Lou Hernsen wrote: Hallo Hello, I have an array @Treasures and I want to match anywhere in it for /:1:2:3:/ can I if (@Treasures =~ /:1:2:3:/){} or do i have to change (@Treasures to $Treasures and then $Treasures = @Treasures ; if ($Treasures =~ /:1:2:3:/){} if ( grep /:1:2:3:/, @Treasures

Testing an array for a match

2008-04-09 Thread Lou Hernsen
Hallo I have an array @Treasures and I want to match anywhere in it for /:1:2:3:/ can I if (@Treasures =~ /:1:2:3:/){} or do i have to change (@Treasures to $Treasures and then $Treasures = @Treasures ; if ($Treasures =~ /:1:2:3:/){} Just thought I'd ask first, I have to take mother in law to Dr.

Re: php testing in my pc

2003-12-25 Thread Wiggins d'Anconia
wrote in message news:[EMAIL PROTECTED] Hi friends: I use activeperl for for run and testing my cgi script in my PC. It's fine. Well... if i want to run and testing my PHP script and my Msql in my PC... what can i use? Thanks Daniel, from Peru -- To unsubscribe, e-mail: [EMAIL PROTECTE

Re: php testing in my pc

2003-12-25 Thread Charlie somerville
POST TO THE DAMN PHP NEWSGROUP NOT THIS ONE! "Daniel Hurtado Brenner" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi friends: > I use activeperl for for run and testing my cgi script in my PC. It's fine. > Well... if i want to run and testing my P

Re: Beta Testing a Robot

2003-12-05 Thread R. Joseph Newton
Casey West wrote: > I'm beta-testing a robot that searches Google when new questions are > posed to the beginners' lists. I have no idea if it will be useful. > :-) > > I'm going to watch it closely and hope it is. I'll remove it if I > find that it does

[REBUILT] Re: Beta Testing a Robot

2003-12-04 Thread Casey West
It was Thursday, December 04, 2003 when Chuck Fox took the soap box, saying: : Casey, : : I would like to chime in on the side of sending the search results : directly to the poster. In most cases, the poster is at the mercy of : the search engine they choose. Whereas, you have the advantage of

Re: Beta Testing a Robot

2003-12-04 Thread Chuck Fox
, saying: : I'm beta-testing a robot that searches Google when new questions are : posed to the beginners' lists. I have no idea if it will be useful. : :-) : : I'm going to watch it closely and hope it is. I'll remove it if I : find that it does a bad job. Thank you for yo

Re: Beta Testing a Robot

2003-12-04 Thread Casey West
It was Wednesday, December 03, 2003 when Casey West took the soap box, saying: : I'm beta-testing a robot that searches Google when new questions are : posed to the beginners' lists. I have no idea if it will be useful. : :-) : : I'm going to watch it closely and hope it is. I&#x

RE: Beta Testing a Robot

2003-12-04 Thread Shaw, Matthew
nical Architect xwave, An Aliant Company Bus: 506-389-4641 (Mctn) Bus: 506-444-9639 (Fred) Cel: 506-863-8949 [EMAIL PROTECTED] > -Original Message- > From: Casey West [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 03, 2003 3:41 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL

Re: Beta Testing a Robot

2003-12-04 Thread Casey West
It was Thursday, December 04, 2003 when Wiggins d Anconia took the soap box, saying: : : : > It was Wednesday, December 03, 2003 when Casey West took the soap box, : saying: : > : I'm beta-testing a robot that searches Google when new questions are : > : posed to the beginners'

Re: Beta Testing a Robot

2003-12-04 Thread Casey West
It was Wednesday, December 03, 2003 when Casey West took the soap box, saying: : I'm beta-testing a robot that searches Google when new questions are : posed to the beginners' lists. I have no idea if it will be useful. : :-) I should like to make an important note. This bot is not i

Re: Beta Testing a Robot

2003-12-04 Thread Christopher G Tantalo
Casey West wrote: I'm beta-testing a robot that searches Google when new questions are posed to the beginners' lists. I have no idea if it will be useful. :-) I'm going to watch it closely and hope it is. I'll remove it if I find that it does a bad job. Casey West This d

Re: Beta Testing a Robot

2003-12-04 Thread Wiggins d Anconia
> It was Wednesday, December 03, 2003 when Casey West took the soap box, saying: > : I'm beta-testing a robot that searches Google when new questions are > : posed to the beginners' lists. I have no idea if it will be useful. > : :-) > > I should like to make an imp

Beta Testing a Robot

2003-12-03 Thread Casey West
I'm beta-testing a robot that searches Google when new questions are posed to the beginners' lists. I have no idea if it will be useful. :-) I'm going to watch it closely and hope it is. I'll remove it if I find that it does a bad job. Casey West -- Good Idea: Kissing a

Re: php testing in my pc

2003-11-10 Thread doug
perl for for run and testing my cgi script in my PC. It's fine. > Well... if i want to run and testing my PHP script and my Msql in my PC... > what can i use? > > Thanks > Daniel, from Peru > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] >

Re: php testing in my pc

2003-11-10 Thread drieux
On Monday, Nov 10, 2003, at 07:48 US/Pacific, Daniel Hurtado Brenner wrote: Hi friends: I use activeperl for for run and testing my cgi script in my PC. It's fine. Well... if i want to run and testing my PHP script and my Msql in my PC... what can i use? you will need to install th

php testing in my pc

2003-11-10 Thread Daniel Hurtado Brenner
Hi friends: I use activeperl for for run and testing my cgi script in my PC. It's fine. Well... if i want to run and testing my PHP script and my Msql in my PC... what can i use? Thanks Daniel, from Peru -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

Testing once again.

2003-05-30 Thread Nicholas Davey
For some reason none of my posts are showing up when I sync my newgroups. If anyone is seeing these posts, drop me a line. Vadtec www.vadtec.net [EMAIL PROTECTED]

Testing.....

2003-03-07 Thread Li Ngok Lam

RE: testing CGI without webserver on NT?

2002-06-10 Thread Mike Rapuano
ECTED] Cc: Subject: testing CGI without webserver on NT? On Windows2000. I have an html page that calls a perl script in a form but IE does not execute the script but rather asks that it be downloaded. Pe

testing CGI without webserver on NT?

2002-06-10 Thread Alaric J. Hammell
On Windows2000. I have an html page that calls a perl script in a form but IE does not execute the script but rather asks that it be downloaded. Perl is installed in "E:\foo\Perl" and not the usual "C:\Perl" directory. could this have something to do with it? Thanks, Al -- To unsubscribe, e

Sorry, just Testing...

2002-01-05 Thread Connie Chan

Re: testing for special caracters...

2001-11-19 Thread fliptop
Wagner Garcia Campagner wrote: > > I'm trying to test a variable for special caracters... but i'm not having > success... > > I'm doing: > > if ($var =~ \w) { if ($var =~ /\w/) { -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

testing for special caracters...

2001-11-19 Thread Wagner Garcia Campagner
Hi, I'm trying to test a variable for special caracters... but i'm not having success... I'm doing: if ($var =~ \w) { .. } But it doesn't work. Thanks in advance, Wagner Garcia Campagner -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

testing anyone?

2001-09-18 Thread louie miranda
louie miranda (axishift.ath.cx) -- Security Is A Series Of Well-Defined Steps chmod -R 0 / ; and smile :) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Testing for truth

2001-07-23 Thread fliptop
Daniel Falkenberg wrote: > > I would like to be able to test my SQL query for truth. To do this I would > like to be able to do a SELECT query and if the colunm contains nothing I > would like my script to be able to return and tell me this. As an example. > if I do a SELECT statement as follows.

RE: Testing for truth

2001-07-23 Thread PURMONEN, Joni
; if defined($sql); Joni -Original Message- From: Daniel Falkenberg [mailto:[EMAIL PROTECTED]] Sent: 23 July 2001 00:42 To: '[EMAIL PROTECTED]' Subject: Testing for truth List, I would like to be able to test my SQL query for truth. To do this I would like to be able to do a SELECT query a

Testing for truth

2001-07-22 Thread Daniel Falkenberg
List, I would like to be able to test my SQL query for truth. To do this I would like to be able to do a SELECT query and if the colunm contains nothing I would like my script to be able to return and tell me this. As an example. if I do a SELECT statement as follows SELECT test FROM support

Re: testing for max size of file

2001-06-18 Thread Timothy Kimball
Curtis Poe wrote: : That will only give the approximate filesize. $ENV{CONTENT_LENGTH} is the total :size of the : entity body. With 'multipart/form-data' (the enctype used with file uploading), the :entity bodies : size is even larger than normal. The more data sent (besides the file), the

Re: testing for max size of file

2001-06-18 Thread Curtis Poe
--- Timothy Kimball <[EMAIL PROTECTED]> wrote: > > Teresa Raymond wrote: > : How do I access the file size without making filesize a parameter > : input by the user? > > This should be in the $ENV{CONTENT_LENGTH} variable. > > -- tdk That will only give the approximate filesize. $ENV{CONTENT

Re: testing for max size of file

2001-06-18 Thread Timothy Kimball
Teresa Raymond wrote: : How do I access the file size without making filesize a parameter : input by the user? This should be in the $ENV{CONTENT_LENGTH} variable. -- tdk

Re: testing for max size of file

2001-06-18 Thread Teresa Raymond
How do I access the file size without making filesize a parameter input by the user? >Teresa Raymond wrote: >: This does not work, there is no error msg, it just doesn't get paid >: attention to. >: >: if ($cgi->param('$filesize')>=$CGI::POST_MAX) >: { print "Your file is too large to send"; >

Re: testing for max size of file

2001-06-18 Thread Timothy Kimball
Teresa Raymond wrote: : This does not work, there is no error msg, it just doesn't get paid : attention to. : : if ($cgi->param('$filesize')>=$CGI::POST_MAX) : { print "Your file is too large to send"; : } Get rid of the $ in front of filesize. Should just be if ( $cgi->param('filesize')>=$

testing for max size of file

2001-06-18 Thread Teresa Raymond
This does not work, there is no error msg, it just doesn't get paid attention to. if ($cgi->param('$filesize')>=$CGI::POST_MAX) { print "Your file is too large to send"; } *** Teresa Raymond *** http://www.mariposanet.com *** [EMAIL PROTECTED]

Hi all, Just Testing =)

2001-06-17 Thread Chan Jennifer
_ Do You Yahoo!? «Ø¥ß­Ó¤Hºô¯¸ http://geocities.yahoo.com.hk Build your own website at http://geocities.yahoo.com.hk

RE: testing null strings for form field values

2001-06-04 Thread Savin, Jill
*** -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 2:30 PM To: Hasanuddin Tamir Cc: [EMAIL PROTECTED] Subject: Re: testing null strings for form field values honestly, i havent even covered use::strict in my

Re: testing null strings for form field values

2001-06-04 Thread David Labatte
Randal is of course right. I apologize for my extremely confusing and idiom riddled post. "Randal L. Schwartz" wrote: > > "David" == David Labatte <[EMAIL PROTECTED]> writes: > > David> The why though is most likely that: undef ne '' > > That's not true. undef eq ''. > Sorry I meant that

Re: testing null strings for form field values

2001-06-04 Thread Hasanuddin Tamir
On Tue, 5 Jun 2001, Hasanuddin Tamir <[EMAIL PROTECTED]> wrote, > Date: Tue, 5 Jun 2001 01:22:59 +0700 (JAVT) > Take a look at these one-liner examples. The string "(nothing)" indicates > that no output is printed. > > 1% perl -le '$x; print 1 if $x ne ""' > (nothing) > > 2% perl -le '$x = und

Re: testing null strings for form field values

2001-06-04 Thread charles
gt; if ( $formdata{view_name} ne "" ) { > > $view = $formdata{view_name}; > > $viewtag = "1"; > > } > > > > is there a special method for testing against a null string for a form > > field's value? i am using the above data, but it seems to al

Re: testing null strings for form field values

2001-06-04 Thread Hasanuddin Tamir
On Mon, 4 Jun 2001, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote, > if ( $formdata{view_name} ne "" ) { > $view = $formdata{view_name}; > $viewtag = "1"; > } > > is there a special method for testing against a null string for a form > field'

Re: testing null strings for form field values

2001-06-04 Thread Randal L. Schwartz
> "David" == David Labatte <[EMAIL PROTECTED]> writes: David> The why though is most likely that: undef ne '' That's not true. undef eq ''. David> What I usually do if I have code that expects an empty string David> instead of an undef is append an empty string onto it when I read David> t

Re: testing null strings for form field values

2001-06-04 Thread David Labatte
Yes, that very well might return 1. If you are getting the form variable data from cgi.pm then a blank form field will appear as an undefined value in perl, not an empty string. So the previous posters response about testing for the true'ness of the form value will work always and is

Re: testing null strings for form field values

2001-06-04 Thread Mathew Hennessy
[EMAIL PROTECTED] wrote: > > if ( $formdata{view_name} ne "" ) { > $view = $formdata{view_name}; > $viewtag = "1"; > } > > is there a special method for testing against a null string for a form > field's value? i am using the above data, but

Re: testing null strings for form field values

2001-06-04 Thread Brett W. McCoy
On Mon, 4 Jun 2001 [EMAIL PROTECTED] wrote: > if ( $formdata{view_name} ne "" ) { > $view = $formdata{view_name}; > $viewtag = "1"; > } > > is there a special method for testing against a null string for a form > field's value? i am using the ab

testing null strings for form field values

2001-06-04 Thread charles
if ( $formdata{view_name} ne "" ) { $view = $formdata{view_name}; $viewtag = "1"; } is there a special method for testing against a null string for a form field's value? i am using the above data, but it seems to always return with a value of "1" making m