diff --git a/png2bin.pl b/png2bin.pl index 4a08798..4cb5a35 100755 --- a/png2bin.pl +++ b/png2bin.pl @@ -10,7 +10,7 @@ use Compress::Zlib; use Getopt::Std; # Allow -v option for verbose output -getopt('v'); +getopts('v'); # Strip path from input filename, and check $0 =~ s/.*\///;