in reply to
Checking for Arguments before Usage?
In this case, you might also leave the subroutine if you don't get any arguments:
return unless @_;
Comment on
Re: Checking for Arguments before Usage?
Download
Code
In Section
Seekers of Perl Wisdom