http://qs1969.pair.com?node_id=587299


in reply to Re: Invalid argument
in thread Invalid argument

Whoops, I didn't re-think the logic of it.
I have the negative condition in there because I originally started with two commands, and spent maybe half an hour frustrated because I could not figure out why, even with cmd arguments, it asked me for input.

I eventually figured out that because I was shifting @ARGV, there was nothing left afterwards. ;)