GetOptions(
#'help|?' => \$help,
#             'debug|d' => \$debug,
#             'no_covers|n' => $no_covers,
             'artist|a=s' => \$artist,
             'username|u=s' => \$username,
             'password|p=s' => \$password,
             'output_dir|o=s' => \$output_directory#,
#'aws_token|w=s' => \$aws_token
             );
I don't know perl I don't want to know perl.
 
2 comments:
thanks, thats awesome, such a little trick, but worked like a flying pig
thanks again :)
the offending line is:
'no_covers|n' => $no_covers,
it should be:
'no_covers|n' => \$no_covers,
Have a read of Getopt::Long
Post a Comment