What part of modifying your script do you have the problem with? Is it with adding the functionality of the unique feature? This would be solvable by reading perlfaq4 on "unique". Or is your problem with the usage of GetOpt::Long? Then it's as easy as the following:
GetOptions( 'u|unique' => \my $unique, );
In reply to Re: using Getopt::Long
by Corion
in thread using Getopt::Long
by v15
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |