in reply to Re: Re: Validating command-line _parameters_ (not options)
in thread Validating command-line _parameters_ (not options)

Maybe the split is causing the warning if ARGV[0] is undefined. Check for the presence of a parameter first!

make sure @ARGV contains exactly one element.
split ARGV[0] at the @
Make sure the split gave you both parts.