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
Hi Chris, On Wed, Mar 28, 2012 at 12:02 PM, Chris Stinemetz wrote: > > > > It is always better to post a complete, short, working program rather > than a > > snippet. > > > > Maybe this will make it more clear as to what I am trying to > accomplish. I simply want to test to see if @hours exists a

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
> > It is always better to post a complete, short, working program rather than a > snippet. > Maybe this will make it more clear as to what I am trying to accomplish. I simply want to test to see if @hours exists as a second key in the hash of hashes %data. If it does not print \t otherwise print

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

2012-03-27 Thread timothy adigun
Hi Chris, Please, check my comment within your script and a "snap shot" script I wrote below if that could point you in the right direction, since we don't have access to your complete codes. On Wed, Mar 28, 2012 at 5:05 AM, Chris Stinemetz wrote: > Hello list, > > I am getting the results I

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 at

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 uninitialized value in concatenation (.) o

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-!

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
use what the message states; you are using an uninitialize string. example my $string;# $string is declared but not initialized! so any operation you do on that string (except an assignment) with produce the error message. - Original Message - From: "Devon Young" <[EMAIL PROTECTED

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
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 code that the

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

2003-09-07 Thread Carl Jolley
On Sat, 6 Sep 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 pei

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
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 you'll get a warning, basically reminding you to do so

RE: Use of uninitialized value in concatenation (.)

2002-04-11 Thread Nikola Janceski
One of the vars in the print are empty or equal to "". to ignore this for just that line use this unless all the vars are supposed to have something in them. { no warnings 'uninitialized'; print "$trd Driver ID:$columns[19] -- $drvname"; } > -Original Message- > From: Scott Taylor [mail

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

2001-09-04 Thread Rob Dixon
Hi John I think you need to tell us something more. You say you my @parts = ("one", "two", "three"); substr($parts[1],0,0) = "."; print "@parts"; works fine. (Unless you really /did/ miss the closing quote from 'three'?). May we see a little more of your code? Don't forget that, i