[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Die on use



Is it possible to do the following:

use Net::Telnet or die "WTF? Install Net::Telnet\n";

our

use Net::Telnet or loadNetTelnet();

sub loadNetTelnet {
  use CPAN;
  print "Installing Net::Telnet\n"
  install Net::Telnet;
  exec @ARGV;
}

This is just some pseudo code.  May not work.

Chris




_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale