This is exactly what I did not mean with "bare minimum". Not to mention the hard readability. I've considered the node for editing. But you may want to add <code> tags yourself. Didn't you notice it came out a real mess?
| [reply] [d/l] |
Not only is that code way too long to find your alleged bug, but it doesn't shift() @ARGV at all. There isn't even any mention of shift() or @ARGV.
Never mind. I see it now. Are you sure none of the 8 other apparently custom modules mess around with @ARGV? Also: are you sure you're actually passing any arguments? Note that any use() statement and the modules included by it are run BEFORE any other code outside BEGIN blocks.
update: If that doesn't help, post a CONCISE piece of code that demonstrates the problem and can actually be run without access to all those modules you're referring to.
| [reply] |
| [reply] |