in reply to Ensuring the correct number of arguments, assigning them or printing usage
(my ($x,$y,$z) = @ARGV) == 3 or usage(); # and trim it just a bit more... (my($x,$y,$z)=@ARGV)-3&&usage(); [download]