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:
|0|PA|1|||BELL|FRANCIS|D|||1||ANGORA||FLEET|HAMPSHIRE|GU51 2UA|
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!