#!/usr/bin/perl use Getopt::Long GetOptionsFromArray; use Module::Load; my $bin = []; my $root = []; my $version; my $VERSION = "0.4"; GetOptionsFromArray(\@ARGV, "binary|b=s" => $bin, "version|v" => \$version, "help|h" => \$help, "root|r=s" => $root); if (! scalar @$bin) { $bin = undef; } if (! scalar @$root) { $root = undef; } if ($help){ help: print "Usage: shlibdeps-resolve [