fmogavero has asked for the wisdom of the Perl Monks concerning the following question:
The property is defined thus: $self->{clientorgunit} = [];.
$self->clientorgunit(@temparray); puts only the first element of the array into $self->clientorgunit.
$self->{clientorgunit} = @temparray; puts only the scalar value of @temparray into $self->clientorgunit.
What am I missing here?
Thanks,
fmogavero
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Putting contents of an array into Object property
by Masem (Monsignor) on Sep 28, 2001 at 17:51 UTC | |
|
Re: Putting contents of an array into Object property
by davorg (Chancellor) on Sep 28, 2001 at 17:53 UTC | |
|
Re: Putting contents of an array into Object property
by arturo (Vicar) on Sep 28, 2001 at 18:34 UTC | |
by tye (Sage) on Sep 28, 2001 at 21:30 UTC |