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
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
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
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.
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
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
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
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
, 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
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
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
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'
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
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
> 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
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
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]
>
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
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: [
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]
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
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
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]
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]
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]
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.
; 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
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
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
--- 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
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
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";
>
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')>=$
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]
_
Do You Yahoo!?
«Ø¥ßÓ¤Hºô¯¸ http://geocities.yahoo.com.hk
Build your own website at http://geocities.yahoo.com.hk
***
-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
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
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
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
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'
> "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
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
[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
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
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
47 matches
Mail list logo