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
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-
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 =
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
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
>
> 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
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
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
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
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-!
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
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
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
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
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
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
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
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 (.)
>
>
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
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
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
21 matches
Mail list logo