Re: undef scalars

2002-02-09 Thread Jeff 'japhy' Pinyan
On Feb 9, filson said: >Indeed, but assigning a list like this: > >($first, $second) = qw/ blabla / > >or what ever is equivalent with a array assignment, would make $second >undef, right? >If this happens like a thousand times, I might get currious how much memory >perl would use for something l

Re: undef scalars

2002-02-09 Thread filson
Indeed, but assigning a list like this: ($first, $second) = qw/ blabla / or what ever is equivalent with a array assignment, would make $second undef, right? If this happens like a thousand times, I might get currious how much memory perl would use for something like the undef value. kind regar

Re: undef scalars

2002-02-09 Thread Jeff 'japhy' Pinyan
On Feb 9, filson said: >This might sound silly, but how much memory is allocated for a undef >scalar? Is any set aside for some sort of indexing or what? Perhaps you should consider scoping your variables more precisely. Declare your variables where you need them to exist, not at the very top of

undef scalars

2002-02-09 Thread filson
This might sound silly, but how much memory is allocated for a undef scalar? Is any set aside for some sort of indexing or what? Filip