I know how to correctly use Getopt::Long..GetOptions to parse cmdline args.
But I do not know how to print out the actual cmdline args before my script exits.
The interface is quite complicated and the logs are long. It would be nice to print out the actual cmdline args so we know exactly what to expect in the logs.
I would guess there should be something like @ARGV in GetOptions(). I tried %Options but it did not work.
So, briefly, is there a global variable in Getopt::Long..GetOptions that still holds all cmdline args like @ARGV?
Thanks.
But I do not know how to print out the actual cmdline args before my script exits.
The interface is quite complicated and the logs are long. It would be nice to print out the actual cmdline args so we know exactly what to expect in the logs.
I would guess there should be something like @ARGV in GetOptions(). I tried %Options but it did not work.
So, briefly, is there a global variable in Getopt::Long..GetOptions that still holds all cmdline args like @ARGV?
Thanks.