#!/usr/bin/perl -w my $package = shift @ARGV; $package =~ s/::/-/g; system( 'sudo', 'apt-get', 'install', 'lib' . lc($package) . '-perl' );