in reply to command line args - a chicken and egg problem
grep for the configuration file and if you find it, splice it out of @ARGV. Then process the configuration file followed by the command line processing.