On 7/17/06, A. Pagaltzis <[EMAIL PROTECTED]> wrote:
* Graham Barr <[EMAIL PROTECTED]> [2006-07-17 02:00]: > perl -MDBI\ 999 > DBI version 999 required--this is only version 1.50. > BEGIN failed--compilation aborted.You can use an equals sign instead of a space, there, which makes it a little easier to type: perl -MDBI=666 -e1
Actually this only works correctly if the module uses Exporter. The code translates to use DBI qw(666); which Exporter has special cased to DWIM. But if the module doesnt use Exporter then it will be treated as an argument to import and not to VERSION. Yves -- perl -Mre=debug -e "/just|another|perl|hacker/"
