[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Die on use
- Subject: [ale] Die on use
- From: fletch at phydeaux.org (Fletch)
- Date: 24 Apr 2003 10:57:58 -0400
>>>>> "Christopher" == Christopher Fowler <cfowler at outpostsentinel.com> writes:
Christopher> Is it possible to do the following: use Net::Telnet
Christopher> or die "WTF? Install Net::Telnet\n";
eval { require Net::Telnet; };
if( $@ ) {
die <<EOT;
You don't have Net::Telnet installed. Please install a copy from your
favourite CPAN mirror.
perl -MCPAN -e 'install( "Net::Telnet" )'
EOT
}
--
Fletch | "If you find my answers frightening, __`'/|
fletch at phydeaux.org | Vincent, you should cease askin' \ o.O'
770 294-0820 (m) | scary questions." -- Jules =(___)=
| U
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale