LPM: 2d array ? for perl

Ronald Edward Petty repett0 at sweb.uky.edu
Thu Dec 28 13:49:49 CST 2000


yea. i figured it out.  Sorry i was being lazy to recode my problem to
send to u guys, im at work and not supposed to send any code, so i havd to
muck it up.
ron

On Thu, 28 Dec 2000, Rich Bowen wrote:

> Ronald Edward Petty wrote:
> >
> > > while(@auth)
> > > {
> > >         print "@datafile[0]";
> > >         splice(@auth, 0, 1);
> > >         splice(@datafile, 0, 1);
> > > }
> >
> > @auth will have the same number of elements as @datafile since
> > @auth is an array of the first | delimited fields from @datafile?  Make
> > more since?
>
> Well, yes, I understand that. However, I'm not sure what you're trying
> to do with those splice lines, and I have no idea what you are trying to
> display with that print statement. You are aware, I hope, that you're
> printing the same thing each iteration through the while() loop?
> $datafile[0] is going to be the same thing no matter when or where you
> print it.
>
> --
> Rich Bowen --  Director of Web Application Development
> http://www.cre8tivegroup.com/  --  rich at cre8tivegroup.com
> Have trouble remembering things?   http://www.idforgetmyhead.com/
>




More information about the Lexington-pm mailing list