in reply to Re^2: undef==defined sometimes? (body question)
in thread undef==defined sometimes?
I think I 'resent' the syntax that @a=1, is an assignment to $a[0]...
Why would you resent that and not resent that @a = (1, 2, 3) is an assignment to $a[0], $a[1], and $a[2], respectively? (Don't make the mistake that the parentheses have anything to do with list creation; they only exist for grouping, as the precedence of the assignment operator is higher than that of the comma operator.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: undef==defined sometimes? (body question)
by Anonymous Monk on May 05, 2008 at 00:33 UTC |