cidaris has asked for the wisdom of the Perl Monks concerning the following question:
I am returning a multi-dimensional array from MySQL and want to increment it with more results.
( not exact, this is pseudo-output for clarity )
e.g.
tried using Dumper to figure this out, to no avail
thanks
( not exact, this is pseudo-output for clarity )
e.g.
@results1 = 'employee1','address1','payrate1','hiredate1', 'employee2','address2','payrate2','hiredate2' @results2 = 'employee3','address3','payrate3','hiredate3', 'employee4','address4','payrate4','hiredate4'
if I push @results1, @results2, do i get:
'employee1','address1','payrate1','hiredate1', 'employee2','address2','payrate2','hiredate2', 'employee3','address3','payrate3','hiredate3', 'employee4','address4','payrate4','hiredate4'
tried using Dumper to figure this out, to no avail
thanks
2002-05-13 Edit by Corion : Fixed CODE tags
|
---|
Replies are listed 'Best First'. | |
---|---|
(MeowChow) Re: Pushing multi-dimensional arrays onto each other
by MeowChow (Vicar) on May 14, 2002 at 21:00 UTC | |
Re: Pushing multi-dimensional arrays onto each other
by grep (Monsignor) on May 14, 2002 at 22:19 UTC | |
Re: Pushing multi-dimensional arrays onto each other
by csotzing (Sexton) on May 14, 2002 at 21:33 UTC |
Back to
Seekers of Perl Wisdom