in reply to Putting contents of an array into Object property
It looks like your object is defined as a blessed hash. Each value in a hash must be a scalar. You can't store an array in a scalar. You can, however, store a reference to an array in a scalar.
$self->clientorgunit(\@temparray);
or
$self->{clientorgunit} = \@temparray;
should do the trick :)
--"The first rule of Perl club is you don't talk about Perl club."
|
|---|