467,882 Members | 1,199 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,882 developers. It's quick & easy.

Two Dimentional Array

Greetings!

I am a new bee to perl, please help!

I have a text file delimited by pipe ( | )
A|Apple
B|Baloon

I would like to load this into a two dimentional array. Please suggest a way to do this.

Appriciate the help.
Thanks.
Aug 14 '08 #1
  • viewed: 1522
Share:
4 Replies
KevinADC
Expert 2GB
Do you know any perl? Do you know how to open a file and read it? Is this school/class/course work? Lets see what you have tried so far.
Aug 14 '08 #2
I got started with perl a month back.
Yes I know file handling also worked with one dimentional arrays.
googled to find how to read a text file into a two dimensional array but could not find much help.

Await your reply.
Thanks.
Aug 14 '08 #3
eWish
Expert 512MB
Please share with us the code that you have tried.

--Kevin
Aug 14 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Cedric Baelemans | last post: by
reply views Thread by Kurien Baker Fenn | last post: by
1 post views Thread by rkmoray | last post: by
9 posts views Thread by Srinu | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.