Hey there :)
i am trying this part of code, which testing arguments on command line:
use Getopt::Long;
GetOptions(
"verbose" => \$verbose,
"get" => \$get
);
print "verbose = $verbose\n";
print "get = $get\n";
In my script i have several arguments, with which my script working (any sequence).
In this code isn't distinguish, when the user enters '--get' or '-get' - and this is my problem - i don't know, how the code to adjust.. :/
(I have to use the module GetOpt::Long)
Thank you for your tips.