#!/usr/bin/perl -Wl use CPAN; while () { chomp; install $_; } __DATA__ Foo::Bar Foo::Baz Foo::Quux