* Timothy Ball ([EMAIL PROTECTED]) [17 Nov 2001 21:00]: [...] > $bash perl -MCPAN -e shell > cpan> install Curses::Widgets > cpan> install Mail::Headers [...] > Yeah I'm looking into a way for a Makefile to automatically install > these pkgs for a user if a they aren't installed sytemwide... As I'm not > the worlds best perl hacker, if anyone knows of a way to do this easily > please email me. :)
Something like (untested): eval { require 'Curses'; }; if ($@) { use CPAN; install 'Curses'; } -- iain. <http://eh.org/~koschei/>