Don't ask to ask, just ask | |
PerlMonks |
RE: Re: i thought i knew 'our'...by autark (Friar) |
on Jul 24, 2000 at 21:11 UTC ( [id://24128]=note: print w/replies, xml ) | Need Help?? |
'our' and 'my' are two very different beasts. You can not
substitute 'our' with 'my' or vice versa, take this as an example:
That will print: Inner: 17 Outer: 17 Now, if you substituted our with my (s/our/my/g) then it would print: Inner: 17 Outer: ...and it would complain about use of uninitialized variable :-) Autark.
In Section
Seekers of Perl Wisdom
|
|