Hi Roger,
Thanks for the help, this really deepens my understanding of regular expressions. I wonder could you tell me how I could parse it without stripping the date out first with the /\|/ split. In other words is there a way to get a record to parse without splitting?? Once again thanks for the help.
I have omitted the implicit $_ =~ part in the idiom. What the new code does is to look for the |1| pattern followed by the stuff you are looking for. Note that at this point, $_ holds the entire line.