Use a hash containing two items - what you want to use to determine if something is allowable and the whole line. How you build that hash will help you figure out what you're doing. :)
------ We are the carpenters and bricklayers of the Information Age.
Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.
Comment on Re: Need help with Parsing Unique Users out of Syslog