in reply to Extracting field from a line
I'd suggest using Text::CSV , in order to create more robust code.
"Income tax returns are the most imaginative fiction being written today." -- Herman Wouk