in reply to Can @ARGV work within Perl functions or is it just for script input?
Within a sub, @_ is the equivalent of @ARGV in the script.
--MidLifeXis