CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner:
Data from a file


New User

Sep 15, 2004, 5:43 AM

Post #1 of 2 (1351 views)
Data from a file Can't Post

Hello there, I have just started using Perl as of today and have run into a problem that I was hoping someone could help with,

I have a file with several thousand records in the format:


Now I require the first three data items (0 PA 1) from the record stored in three seperate arrays. I know how to cycle through all records however when I am trying to split on | occurance the data is getting lost.

Thanks for any help!

Thaumaturge / Moderator

Sep 16, 2004, 12:49 AM

Post #2 of 2 (1344 views)
Re: [adam_wood1234] Data from a file [In reply to] Can't Post

There are plenty of good responses to this question here.

Dave Cross, Perl Hacker, Trainer and Writer
Get more help at Perl Monks


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives