Re: error message "Use of uninitialized value in concatenation (.) or string at

2012-04-12 Thread Shlomi Fish
Hello adit, On Wed, 11 Apr 2012 20:03:28 -0700 (PDT) adit edogawa wrote: > hi, > please help me ... > I have a perl script as follows: > > #! / Usr / bin / perl-w > # Use module > use strict; > use DBI; > Seems like your E-mail user-agent has seriously mangled your Perl code thinking it is fr

error message "Use of uninitialized value in concatenation (.) or string at

2012-04-12 Thread adit edogawa
', '$ Address', '$ Province', '$ Kode_pos', "$ MSISDN ', '$ Email',

RE: Use of uninitialized value in concatenation (.) or string

2012-03-29 Thread Kronheim, David (Contr)
timothy adigun [2teezp...@gmail.com] wrote: >#!/usr/bin/perl >use warnings; >use strict; > >my @wanted = qw( dad mum children); >my @children = qw(tim dan mercy); >my $ref = { >dad => "mick", >mum => "eliz", >children => { first => 'tim', second => 'dan', third => 'merc

Re: Use of uninitialized value in concatenation (.) or string

2012-03-28 Thread Jim Gibson
On 3/28/12 Wed Mar 28, 2012 10:02 AM, "timothy adigun" <2teezp...@gmail.com> scribbled: > Hi Chris, > > On Wed, Mar 28, 2012 at 12:02 PM, Chris Stinemetz > wrote: > >>> >> foreach my $cell ( @wanted ) { >> print "$cell:"; >> foreach my $hr ( @hours ) { >> >foreach(keys %{$href-

Re: Use of uninitialized value in concatenation (.) or string

2012-03-28 Thread timothy adigun
Hi David, On Wed, Mar 28, 2012 at 4:36 PM, Kronheim, David (Contr) < david.kronh...@ftr.com> wrote: > timothy adigun [2teezp...@gmail.com] wrote: > >#!/usr/bin/perl > >use warnings; > >use strict; > > > >my @wanted = qw( dad mum children); > >my @children = qw(tim dan mercy); > >my $ref =

Re: Use of uninitialized value in concatenation (.) or string

2012-03-28 Thread timothy adigun
'01' => '1', >'02' => '1', > '03' => '1', > }, > > ); > > my $href = \%data; > my @wanted = qw(077 078 149); > my @hours = qw(00 01 02 03 0

Re: Use of uninitialized value in concatenation (.) or string

2012-03-28 Thread Алексей Мишустин
2012/3/28 Chris Stinemetz : > I simply want to test to see if @hours exists as a second > key in the hash of hashes %data. > foreach my $cell ( @wanted ) { >  print  "$cell:"; >  foreach my $hr ( @hours ) { >    if ( defined keys %{ $href->{$hr}}){ if ( defined $href->{$cell}{$hr}){ >      pri

Re: Use of uninitialized value in concatenation (.) or string

2012-03-28 Thread Chris Stinemetz
1', '01' => '1', '02' => '1', '03' => '1', }, ); my $href = \%data; my @wanted = qw(077 078 149); my @hours = qw(00 01 02 03 04 05 06); foreach

Re: Use of uninitialized value in concatenation (.) or string

2012-03-27 Thread timothy adigun
am getting the results I want with this iteration through the hash, > but I am stump on clearing the following warnings: > > fyi line 12168 is the last line of the input file. > > Use of uninitialized value in concatenation (.) or string at > ./TESTdeltaT1.pl line 54, <$SUM

Re: Use of uninitialized value in concatenation (.) or string

2012-03-27 Thread Jim Gibson
At 11:05 PM -0500 3/27/12, Chris Stinemetz wrote: Hello list, I am getting the results I want with this iteration through the hash, but I am stump on clearing the following warnings: fyi line 12168 is the last line of the input file. Use of uninitialized value in concatenation (.) or string

Use of uninitialized value in concatenation (.) or string

2012-03-27 Thread Chris Stinemetz
Hello list, I am getting the results I want with this iteration through the hash, but I am stump on clearing the following warnings: fyi line 12168 is the last line of the input file. Use of uninitialized value in concatenation (.) or string at ./TESTdeltaT1.pl line 54, <$SUM> line 1216

Re: Error message: Use of uninitialized value in concatenation (.) or string

2012-02-13 Thread Ken Slater
er loop above. Ken >                print $MAP "$up_ac\t$kegg_map{$up_ac}\n"; #------ line 441. >            } >            close $MAP; >        } > > I get the following error message: > Use of uninitialized value in concatenation (.) or string at pipeline.pl

Error message: Use of uninitialized value in concatenation (.) or string

2012-02-13 Thread venkates
27;>', $kegg_tax_map_path or croak "Failed to open for writing $kegg_tax_map_path: $!"; print $MAP "$up_ac\t$kegg_map{$up_ac}\n"; #-- line 441. } close $MAP; } I get the following error message: Use of uninitial

Re: supressing error message Use of uninitialized value in concatenation....

2012-01-09 Thread Rajeev Prasad
Thank you, the following worked: { no warnings qw(uninitialized); ... } - Original Message - From: Jim Gibson To: perl list Cc: Sent: Monday, January 9, 2012 1:14 PM Subject: Re: supressing error message Use of uninitialized value in concatenation On 1/9/12 Mon  Jan 9, 2012

Re: supressing error message Use of uninitialized value in concatenation....

2012-01-09 Thread Jim Gibson
On 1/9/12 Mon Jan 9, 2012 10:53 AM, "Rajeev Prasad" scribbled: > Hello, > > I have a lot of fields being concatenated to form a string and sometimes the > values are empty, so i am getting this error: > > Use of uninitialized value in concatenation (.) or stri

supressing error message Use of uninitialized value in concatenation....

2012-01-09 Thread Rajeev Prasad
Hello, I have a lot of fields being concatenated to form a string and sometimes the values are empty, so i am getting this error: Use of uninitialized value in concatenation (.) or string at ./script.pl line 144, <$IN_FH> line 1. how can i suppress this? my logic flow: $string1 = &q

Re: Uninitialized value in concatenation

2011-06-08 Thread Jim Gibson
On 6/8/11 Wed Jun 8, 2011 5:33 PM, "Sayth Renshaw" scribbled: >> That looks fine, but Perl is trying to interpolate $mynames (which >> hasn't been initalised) into the string instead of indexing an element >> of @mynames. >> >> You may be running an old perl. Please check your version with >>

Re: Uninitialized value in concatenation

2011-06-08 Thread Sayth Renshaw
> That looks fine, but Perl is trying to interpolate $mynames (which > hasn't been initalised) into the string instead of indexing an element > of @mynames. > > You may be running an old perl. Please check your version with > >  perl -v I have 5.12.3 on this PC, The strawberry perl release. > > a

Re: Uninitialized value in concatenation

2011-06-08 Thread Cortello
On 08/06/2011 13:02, Sayth Renshaw wrote: Working through the exercises in Learning Perl. Chapter 3 exercise 2. Basically have to look up a set of names and return an output list of based on the numbers selected by the user. 1 would print fred etc. For the longest time I had the below code but c

Re: Uninitialized value in concatenation

2011-06-08 Thread Rob
On 08/06/2011 13:02, Sayth Renshaw wrote: Working through the exercises in Learning Perl. Chapter 3 exercise 2. Basically have to look up a set of names and return an output list of based on the numbers selected by the user. 1 would print fred etc. For the longest time I had the below code but c

Re: Uninitialized value in concatenation

2011-06-08 Thread Sayth Renshaw
> Hello Sayth > > The program you have published seems to work fine. Are you certain that > the print line inside the foreach loop is as you say? > > Rob > This is copied direct from my editor. #!/usr/bin/perl use strict; use warnings; use Data::Dumper; my @mynames = qw/fred betty barney dino wi

Uninitialized value in concatenation

2011-06-08 Thread Sayth Renshaw
Working through the exercises in Learning Perl. Chapter 3 exercise 2. Basically have to look up a set of names and return an output list of based on the numbers selected by the user. 1 would print fred etc. For the longest time I had the below code but couldn't figure out the body of the foreach l

RE: Need help with Use of uninitialized value in concatenation (.) or string

2011-01-27 Thread Mark Meyer
Message- > From: CM Analyst [mailto:cmanal...@yahoo.com] > Sent: Thursday, January 27, 2011 6:25 PM > To: Parag Kalra > Cc: beginners@perl.org > Subject: Re: Need help with Use of uninitialized value in concatenation > (.) or string > > This is a sample of the data I a

Re: Need help with Use of uninitialized value in concatenation (.) or string

2011-01-27 Thread CM Analyst
-84f9e0f6609e;|] com.raec.cq.CQCommitException: You wanted to commit a modifyCR based record, but the record was not found in the ClearQuest Database. --- On Thu, 1/27/11, Parag Kalra wrote: From: Parag Kalra Subject: Re: Need help with Use of uninitialized value in concatenation (.) or string To: &qu

Re: Need help with Use of uninitialized value in concatenation (.) or string

2011-01-27 Thread Parag Kalra
ull the date value each time an error > value (hardcoded) is found in the specified log file. The script retrieves > the error value without a problem but I cannot seem get the date value. Can > anyone tell me what I need to do? > > The error message when I run the script is: > > Us

RE: Need help with Use of uninitialized value in concatenation (.) or string

2011-01-27 Thread Mark Meyer
Can you send an example of the data in the log file? tm -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Need help with Use of uninitialized value in concatenation (.) or string

2011-01-27 Thread CM Analyst
run the script is: Use of uninitialized value in concatenation (.) or string at script.pl line 32 where line 32 is where I am calling this: "print $date"; Here is the script: use warnings; use strict; #Specify the path to the log file you want to read, for ex. application log# open (

Re: parse ini usage results in uninitialized value in concatenation

2008-10-16 Thread protoplasm
On Oct 14, 6:41 am, [EMAIL PROTECTED] (Protoplasm) wrote: > I'm attempting to write some code using the Config::INI::Simple > module. When I run the app I get the following: > > Use of uninitialized value in concatenation (.) or string at ./open- > file2.pl line 35. > Use of

Re: parse ini usage results in uninitialized value in concatenation

2008-10-15 Thread Rob Dixon
protoplasm wrote: > I'm attempting to write some code using the Config::INI::Simple > module. When I run the app I get the following: > > Use of uninitialized value in concatenation (.) or string at ./open- > file2.pl line 35. > Use of uninitialized value in concatenation

parse ini usage results in uninitialized value in concatenation

2008-10-14 Thread protoplasm
I'm attempting to write some code using the Config::INI::Simple module. When I run the app I get the following: Use of uninitialized value in concatenation (.) or string at ./open- file2.pl line 35. Use of uninitialized value in concatenation (.) or string at ./open- file2.pl line 36. U

RE: Use of uninitialized value in concatenation (.) or string

2008-07-25 Thread Thomas Bätzler
luke devon <[EMAIL PROTECTED]> asked: > Following error i am getting while its functioning. Could you > please help me to find out what the error is ? > > Use of uninitialized value in concatenation (.) or string at > /xxx.pl line 18, line 1. > Use of uninitialize

Use of uninitialized value in concatenation (.) or string

2008-07-25 Thread luke devon
Dear Friends, Following error i am getting while its functioning. Could you please help me to find out what the error is ? Use of uninitialized value in concatenation (.) or string at /xxx.pl line 18, line 1. Use of uninitialized value in concatenation (.) or string at /xxx.pl line 21

Re: Use of uninitialized value in concatenation (.) or string at txt.pl line 33, line 11

2005-09-12 Thread Jeff 'japhy' Pinyan
On Sep 12, ganesh said: This is the warning messge I am getting when I executed my script. Please find my analysis of the above warning Input: Line 1: 20(1): 125-126 Line 2: 20:125-126 Output: Line 1: 20(1): 125-126 Line 2: 20:125-126 My Code: $line=~s!(\d+)(\(\d+\))?:(\d+)-!$1$2:$3-!

Use of uninitialized value in concatenation (.) or string at txt.pl line 33, line 11

2005-09-12 Thread ganesh
Dear All, This is the warning messge I am getting when I executed my script. Please find my analysis of the above warning Input: Line 1: 20(1): 125-126 Line 2: 20:125-126 Output: Line 1: 20(1): 125-126 Line 2: 20:125-126 My Code: $line=~s!(\d+)(\(\d+\))?:(\d+)-!$1$2:$3-!g; Both the l

Re: Use of uninitialized value in concatenation (.) or stringat...

2003-09-08 Thread Lee Goddard
At 20:13 06/09/2003, Devon Young wrote: What does this mean?? I'm thoroughly puzzled and I've been scouring the net for an answer. I've been assuming it means I'm not putting strings together correctly, but I can't figure out how to fix it. Here's the errors I'm getting, followed by the peice of

Re: Use of uninitialized value in concatenation (.) or string at...

2003-09-08 Thread Bernard Kenik
t; <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, September 06, 2003 2:13 PM Subject: Use of uninitialized value in concatenation (.) or string at... > What does this mean?? I'm thoroughly puzzled and I've b

Re: Use of uninitialized value in concatenation (.) or string at...

2003-09-07 Thread R. Joseph Newton
Please do not cross-post. I know already that I am going to be burned with at least two failure notices by responding to your post before checking for rudeness. Since I am not subscribed to either of the other lists you *spammed*, my replies will be returned with either failure or "Awaiting ap

Re: Use of uninitialized value in concatenation (.) or string at...

2003-09-07 Thread R. Joseph Newton
t; > > Use of uninitialized value in substitution (s///) at > C:\perl_stuff\artists.pl line 120. > Use of uninitialized value in concatenation (.) or string at > C:\perl_stuff\artists.pl line 122. > Use of uninitialized value in concatenation (.) or string at > C:\perl_stuff\

Re: Use of uninitialized value in concatenation (.) or string at...

2003-09-07 Thread Carl Jolley
e errors I'm > getting, followed by the peice of code that the error is apparently in. I > can't see what's wrong though. The code looks fine to me... > > Use of uninitialized value in substitution (s///) at > C:\perl_stuff\artists.pl line 120. > Use of uninitialized

Use of uninitialized value in concatenation (.) or string at...

2003-09-06 Thread Devon Young
ode that the error is apparently in. I can't see what's wrong though. The code looks fine to me... Use of uninitialized value in substitution (s///) at C:\perl_stuff\artists.pl line 120. Use of uninitialized value in concatenation (.) or string at C:\perl_stuff\artists.pl line 122. Use o

RE: Debugging and 'uninitialized value in concatenation' question

2002-04-26 Thread Chas Owens
On Fri, 2002-04-26 at 14:51, Jason Frisvold wrote: > Hrm.. I'll run some tests with it and see what I find out... Sounds > promising if it really is a preprocessor... So does it just do > something along the lines of a cat | grep -v and then > execute the output? (I realize that is simplifyi

RE: Debugging and 'uninitialized value in concatenation' question

2002-04-26 Thread Jason Frisvold
IL PROTECTED] Subject: RE: Debugging and 'uninitialized value in concatenation' question On Fri, 2002-04-26 at 11:44, Jason Frisvold wrote: > While this appears to be a decent solution, I think I would still > encounter the same problem that I wanted to avoid... Every time it > encount

Re: Debugging and 'uninitialized value in concatenation' question

2002-04-26 Thread Tanton Gibbs
]> Sent: Friday, April 26, 2002 11:44 AM Subject: RE: Debugging and 'uninitialized value in concatenation' question > While this appears to be a decent solution, I think I would still > encounter the same problem that I wanted to avoid... Every time it > encounters a CPP sta

RE: Debugging and 'uninitialized value in concatenation' question

2002-04-26 Thread Chas Owens
On Fri, 2002-04-26 at 11:44, Jason Frisvold wrote: > While this appears to be a decent solution, I think I would still > encounter the same problem that I wanted to avoid... Every time it > encounters a CPP statement (#IF DEBUG, #DEFINE, etc) then it still needs > to make the proper calls and wha

RE: Debugging and 'uninitialized value in concatenation' question

2002-04-26 Thread Jason Frisvold
nation encircles the world." -- Albert Einstein [1879-1955] -Original Message- From: Chas Owens [mailto:[EMAIL PROTECTED]] Sent: Friday, April 26, 2002 10:46 AM To: Jason Frisvold Cc: [EMAIL PROTECTED] Subject: Re: Debugging and 'uninitialized value in concatenation' question

Re: Debugging and 'uninitialized value in concatenation' question

2002-04-26 Thread Chas Owens
On Thu, 2002-04-25 at 14:49, Jason Frisvold wrote: > Judging from the subject lines coming across the list today, I think I'm > gonna toss this question out there and then duck and cover... :-) > > I have 2 actual questions. I'll try to be as specific as possible.. > :-) > > Question #1. > >

Re: Debugging and 'uninitialized value in concatenation' question

2002-04-26 Thread Michael Lamertz
On Thu, Apr 25, 2002 at 02:49:16PM -0400, Jason Frisvold wrote: > Judging from the subject lines coming across the list today, I think I'm > gonna toss this question out there and then duck and cover... :-) Hmm, I can't see any obvious reason to flame that post. It's a technique and style quest

RE: Debugging and 'uninitialized value in concatenation' question

2002-04-25 Thread Jenda Krynicky
From: "Jason Frisvold" <[EMAIL PROTECTED]> > Ok, shoot me now... I tried to provide an example and I blew it.. > *grin* I realize that the locals are block scope.. I know what I > meant, just didn't say it.. :) I see. You never know where does the other guy come from. In VB (yes I am forced

RE: Debugging and 'uninitialized value in concatenation' question

2002-04-25 Thread Jason Frisvold
mportant than knowledge. Knowledge is limited. Imagination encircles the world." -- Albert Einstein [1879-1955] -Original Message- From: Jenda Krynicky [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 25, 2002 4:17 PM To: [EMAIL PROTECTED] Subject: Re: Debugging and 'uninitialized

Re: Debugging and 'uninitialized value in concatenation' question

2002-04-25 Thread Jenda Krynicky
From: "Jason Frisvold" <[EMAIL PROTECTED]> > Judging from the subject lines coming across the list today, I think > I'm gonna toss this question out there and then duck and cover... :-) We do not shoot at people here. Even if they do provide the missile address. ;-) > Question #1. > > When I

Re: Debugging and 'uninitialized value in concatenation' question

2002-04-25 Thread Felix Geerinckx
on Thu, 25 Apr 2002 18:49:16 GMT, Jason Frisvold wrote: > Question #1. > [...] > One major side effect > of this is that my code will begin to run slower due to all of the > debugging... See Sean M. Burke's "Constants in Perl" article in The Perl Journal, which is available online. Especially t

Debugging and 'uninitialized value in concatenation' question

2002-04-25 Thread Jason Frisvold
Judging from the subject lines coming across the list today, I think I'm gonna toss this question out there and then duck and cover... :-) I have 2 actual questions. I'll try to be as specific as possible.. :-) Question #1. When I'm writing code, I want to be able to view as much output as po

Re: Use of uninitialized value in concatenation (.)

2002-04-11 Thread drieux
On Thursday, April 11, 2002, at 08:17 , Scott Taylor wrote: [..] > on this line: > print "$trd Driver ID:$columns[19] -- $drvname"; > > Can anyone point out my mistake? > It still runs but fills up my error_log > and I do have the variables initialized before the loop: > my $trd = ""; > my $drvna

Re: Use of uninitialized value in concatenation (.)

2002-04-11 Thread Scott Taylor
At 09:01 AM 11/04/2002, [EMAIL PROTECTED] wrote: >Scott, > >You've declared it... >my $drvname; >...but not initialised it(given it a value). So at the moment it has the >special value 'undef' (which is treated as 0 in a numeric context, or '' >in a scalar one). Try and do much with an undef and

RE: Use of uninitialized value in concatenation (.)

2002-04-11 Thread Nikola Janceski
Whoa! thanks for the clarification. I need to take out some of my no warnings now. ;) > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: None > To: [EMAIL PROTECTED] > Subject: Re: Use of uninitialized value in concatenation (.) > >

Re: Use of uninitialized value in concatenation (.)

2002-04-11 Thread p
heers, Tristan You Wrote: -- When I put the -w switch on I get this error: Use of uninitialized value in concatenation (.) at /var/www/cgi-bin/ticket.cgi line 71: on this line: print "$trd Driver ID:$columns[19] -- $drvname"; Can anyone point out my mistake? It stil

RE: Use of uninitialized value in concatenation (.)

2002-04-11 Thread Nikola Janceski
Message- > From: Scott Taylor [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 11, 2002 11:17 AM > To: [EMAIL PROTECTED] > Subject: Use of uninitialized value in concatenation (.) > > > When I put the -w switch on I get this error: > Use of uninitialized value in co

Use of uninitialized value in concatenation (.)

2002-04-11 Thread Scott Taylor
When I put the -w switch on I get this error: Use of uninitialized value in concatenation (.) at /var/www/cgi-bin/ticket.cgi line 71: on this line: print "$trd Driver ID:$columns[19] -- $drvname"; Can anyone point out my mistake? It still runs but fills up my error_log and I d

RE: Use of uninitialized value in concatenation (.) or string at mlknpvs.pm line 241

2001-09-04 Thread Rob Dixon
. May we see a little more of your code? Don't forget that, if $name doesn't contain any '.'s then $parts[1] _will_ be uninitialized. Cheers, Rob > -Original Message- > From: John Way [mailto:[EMAIL PROTECTED]] > Sent: 04 September 2001 17:08 > T

Use of uninitialized value in concatenation (.) or string at mlknpvs.pmline 241

2001-09-04 Thread John Way
I am running a script with -w and I keep getting multiple warnings like... Use of uninitialized value in substr at mlknpvs.pm line 240 Use of uninitialized value in concatenation (.) or string at mlknpvs.pm line 241 In this particular script I call a sub from mlknpvs.pm. I declared an