Hello,
I have Perl/CGI script that work fine but for the fact that it logs a
message in the error log file. The message is:
Use of uninitialized value in concatenation (.) or string at...
Despite the message, the script does what it is supposed to do. I would
like to know if this message is a
- Original Message -
From: Akbar Ehsan [EMAIL PROTECTED]
To: beginners-cgi@perl.org
Sent: Tuesday, February 06, 2007 9:26 AM
Subject: Trying to Understand An Error Message
Hello,
I have Perl/CGI script that work fine but for the fact that it logs a
message in the error log file. The
Try to use use strict; statement at the beginning of your script to avoid
undefined variables.
Kind regards,
Olivier
-Message d'origine-
De : Jonathan Mangin [mailto:[EMAIL PROTECTED]
Envoyé : mardi 6 février 2007 15:45
À : Akbar Ehsan; beginners-cgi@perl.org
Objet : Re: Trying to
Chad Eldridge wrote:
Rob Dixon wrote:
Chad Eldridge wrote:
Mathew wrote:
Adriano Ferreira wrote:
On 2/2/07, Mathew Snyder [EMAIL PROTECTED] wrote:
I have a script which extracts email addresses from a web page,
pushes them into an array and then prints them out before asking
if
Question is how to embed text in a perl program instead of reading it from a
file
or initializing the text in a string variable.
I have done the following but when I execute the script, I get no output.
Is there an issue I am overlooking ?
Another question is whether perl will replace the
Chad == Chad Eldridge [EMAIL PROTECTED] writes:
Chad As to disadvantages to Email::Address, I can't see any. It's not a
Chad matter of disadvantage, I just prefer to write the code myself when I
Chad can. Mostly this comes just from curiousity. So, it's really more
Chad preference than a matter
On 2/6/07, Sharan Basappa [EMAIL PROTECTED] wrote:
Question is how to embed text in a perl program instead of reading it from a
file
or initializing the text in a string variable.
Are you looking for here-documents? Look in perlop under Quote and
Quote-like Operators to see the different ways
On 2/5/07, Chad Eldridge [EMAIL PROTECTED] wrote:
[snip]
But using Email::Address would have got it right in the first place, and
I still
can't see what the disadvantage is.
HTH,
Rob
You are right about that code I posted, I'm sorry about that. I was
thrown together in a hurry while
Hi All,
Following is my code
# /usr/bin/perl
use strict;
use warnings;
my $CT = /usr/atria/bin/cleartool;
my @vob_list = `$CT lsvob -s`;
my $ele;
my @vob_list1;
my $i;
my $size;
$size = $#vob_list+1;
for ($i=0;$i=$size;$i++)
{
$ele = $vob_list[$i];
$ele =~ s/$ele/$ele,/g;
Is it possible that the array vob_list is empty? It seem that 1 is
added to the number of elements in the array. So the loop at least 1
time.
Sayed, Irfan (Irfan) [EMAIL PROTECTED] 2/6/2007 11:53:24 AM
Hi All,
Following is my code
# /usr/bin/perl
use strict;
use warnings;
my $CT =
Sayed, Irfan (Irfan) wrote:
Hi All,
Hello,
Following is my code
# /usr/bin/perl
use strict;
use warnings;
my $CT = /usr/atria/bin/cleartool;
my @vob_list = `$CT lsvob -s`;
my $ele;
my @vob_list1;
my $i;
my $size;
$size = $#vob_list+1;
for ($i=0;$i=$size;$i++)
{
$ele
Sharan Basappa wrote:
Question is how to embed text in a perl program instead of reading it
from a file or initializing the text in a string variable.
I have done the following but when I execute the script, I get no output.
Is there an issue I am overlooking ?
Another question is
I need to send an attachment over soap. I have found little
documentation on this topic. I am trying to use the method below but
can not seem to get it to work. The attachment needs to come after the
closing envelop tag. Anyone have any experience here?
my $CID = template ;
my
P.S. this is one of the errors I get.
Modification of non-creatable array value attempted, subscript -1 at
C:/Perl/site/lib/SOAP/MIME.pm line 435.
Thanks
DRD
-Original Message-
From: DiGregorio, Dave [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 06, 2007 2:08 PM
To:
John W. Krahn wrote:
Sharan Basappa wrote:
Question is how to embed text in a perl program instead of reading it
from a file or initializing the text in a string variable.
I have done the following but when I execute the script, I get no output.
Is there an issue I am overlooking ?
Another
Hi All.
We have three managers each of whom have several corporate client accounts each.
Each corp account has an instance of our web app running on a server hosted by
us.
We have cricket (cricket.sourceforge.net) running on another server.
Cricket is monitoring the overall level of activity on
Chad Eldridge schreef:
As to disadvantages to Email::Address, I can't see any. It's not a
matter of disadvantage, I just prefer to write the code myself when I
can. Mostly this comes just from curiousity. So, it's really more
preference than a matter of advantage. I'm not going to try and
Hi.
I have a log file that contains a collection of individual test
results, each beginning with a START, and ending with a FINISH.
I would like to print out the names of the tests that have the error
message LOOKING FOR THIS STRING.
log file:
Hello,
I have a XML file which needed to be posted to a remote site.
I have no idea on how to do it.Can you show me some useful reference?Thanks.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
On 02/06/2007 10:16 PM, Jm lists wrote:
Hello,
I have a XML file which needed to be posted to a remote site.
I have no idea on how to do it.Can you show me some useful
reference?Thanks.
If the perl documentation is properly installed, you will have the
perldoc utility. At a command
20 matches
Mail list logo