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