From: "Anirban Adhikary" <[EMAIL PROTECTED]>> Dear List
> Can U please tell me how to check the version of any installed module in
> perl. If I want to check the version of version of DBI module then what is
> the syntax for it?
> 
> Thanks & Regards in advance
> Anirban Adhikary

You can do:

perl -MDBI -e "print $DBI::VERSION;"

or shorter:

perl -M"DBI 999" -e1

which will give an error telling that this is a lower version of DBI than the 
one requested and it will also give the version.

If you do it under Unix/Linux, use ' instead of ".

Octavian


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to