Hey Toby, thanks for the reply...
Gotcha, thanks for some more example, much appreciated!
Yea, normally when I have more then one argument passed to a Sub I'll use the the 1st method you
showed in your reply.
sub myFunction
{
my ($first, $second, $third) = @_;
.....code.....
}
I know its a slightly different topic, but when I pass more then one Argument to the script itself,
like from the CLI, I like to use the Getopt::Long Module, it works great and does most of the work for you...
use Getopt::Long;
my $HELP;
my $HOSTNAME;
if (@ARGV > 0)
{
GetOptions('help|?' => \$HELP,
'host|hostname|H=s' => \$HOSTNAME
);
}
Thanks again for the examples!
Thanks,
Matt