Nevermind, my brain is fried. Duh, a second print statement somewhere.  I
wish there were a RTFM for life.  Time to toss in the towel and live to
program another day.

Thanks again for the patience.

-Sarah

-----Original Message-----
From: Kirby_Sarah [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 12, 2002 6:56 PM
To: '[EMAIL PROTECTED]'
Subject: How could this happen?



This is really weird.  

I've been trying to figure out why the value of a scalar changes when I send
it to a subroutine, so I tried assigning the value within the subroutine to
see if it was getting the value some other way, and this is what I got: 

Code:

        $banana = "3.1.2.3.3.5.B.06";
        print $banana."\n";

Output:

3.1.2.3.3.5.B.06
3.1.2.3.3.5.B.06
3.1.4.3.3.5.B.04 
3.1.2.3.3.5.B.06
3.1.2.3.3.5.B.06

Now, how the heck did that alternative value sneak in there?  It is a valid
value for this scalar, but not the one I expected.

-Sarah




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to