Re: DBD-mysql version
Daniel Kasak <[email protected]>
| Newsgroups | gmane.comp.db.mysql.perl |
|---|---|
| Message-ID | <[email protected]> |
Paul DuBois wrote: > At 0:26 +1100 11/18/04, Daniel Kasak wrote: > >> Hi all. >> >> How can I get information about the current version of DBD-mysql? >> I'm writing a module that needs to know this to figure out which >> features are available, at run-time. >> >> Dan > > > #! /usr/bin/perl -w > # dbi-version.pl - display DBI and DBD::mysql versions > use strict; > use DBI; > print "DBI::VERSION: $DBI::VERSION\n"; > use DBD::mysql; > print "DBD::mysql::VERSION: " . $DBD::mysql::VERSION . "\n"; Thanks :) -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [email protected] website: http://www.nusconsulting.com.au -- MySQL Perl Mailing List For list archives: http://lists.mysql.com/perl To unsubscribe: http://lists.mysql.com/[email protected]