Hello,

I am trying to add data into a multidimensional array in a loop. I'm wanting something along the lines of:


@array =
                $record[0]='foo'
                $record[1]='bar'
                $record[2]='fue'
                $record[3]='bargh'

                $record[0]='foo'
                $record[1]='bar'
                $record[2]='fue'
                $record[3]='bargh'

                $record[0]='foo'
                $record[1]='bar'
                $record[2]='fue'
                $record[3]='bargh'

However, coming from a PHP background, things are somewhat different. I dont seem to be able to get my head around it...!

Can anyone give me a couple of pointers?

Thanks!

Andy

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to