On Tuesday, May 28, 2002, at 06:22 , William West wrote:
[..]
> drieux wrote...
>
> b) you might want to pass in a reference to the array - and fill it up
>
> push( @$array_ref, $_ )
[..]
> i almost understand this- not really though...
I shall presume you got David's clarification of 'push' and $_
and what you want to learn about is
perldoc perlref
for the semantically silly construct
@$array_ref
or 'make it be as if the underlying $array_ref is really
a ref to an array'.....
or did you specifically wish to discuss the merits
and demerits of creating the @list_shrugged, and passing
it out of your function, vice having the user pass IN
a reference to your data type????
> i'm curious for an explanation :)
Hi! I'm drieux, just drieux, nice to meet you curious....
> (btw- thanks drieux)
[..]
ciao
drieux
---
do People really think I read what I write?
let alone try to remember any of it???
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]