in reply to Re: throw a warning if no argument were passed
in thread throw a warning if no argument were passed

Yeah, in addition to your correct comment about eq vs. ==, I also noticed yesterday, but did not mention then (because it appeared to be slightly off-topic), that this test is also actually useless, since it comes in the else branch of a condition testing if (@ARGV > 0). Since the number of elements of an array can only be zero or a positive integer, it can only be 0 when it is strictly smaller that 1.