in reply to Re: arrays and foreach
in thread arrays and foreach
I forgot about Dumper. Thanks for reminding me. It seems my was trying to get too tricky with my original code. I fixed the error by doing the following when I "pushed" data into the array:
my $id1=$user->getID(); my $eID=$user->getExternalID(); my $epID=$user->getExternalParentID(); my $sid1=$user->getSid(); my $idD=$user->getDomain(); my $idL=$user->getLockedTimes(); push(@userData, "$id1;$eID;$ipID;$sid1;$idD;$idL");
It all works as expected now.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: arrays and foreach
by MidLifeXis (Monsignor) on Aug 16, 2012 at 18:04 UTC |
In Section
Seekers of Perl Wisdom