I am currently working on a simple log parser for my self (yes I know there are many perfectly good ones out there but I am trying to learn some perl by doing this).
My question is this, is it possible to write a regexp that can get its match via an external variable so that I could use a configuration file to define the match based on the particular log structure on a given machine.
But would like to be able to have it read the match structure from the configuration file. Any leads would be helpful.