in reply to How do I pass command line args to test module?
you'll probably want to look into Test::Harness for this kind of thing.
anders pearson