in reply to Number notation

There are several good answer aboves. I just wanted to point out that you must have made a mistake transcribing the code. You're assigning values to $string1 and $string2, but using split on a different variable $string (no number). The code as you have it here sets both $var2 and $var4 (and the others) to undef.

Replies are listed 'Best First'.
Re: Re: Number notation
by Michalis (Pilgrim) on Jun 21, 2001 at 00:33 UTC
    Thanks. That was a typo, I meant $string1 and $string2 respectively