From darrell at golliher.net Tue Aug 5 13:55:23 2003 From: darrell at golliher.net (Darrell Golliher) Date: Mon Aug 2 21:28:35 2004 Subject: [Classiccity-pm] Checking version of an installed module? Message-ID: <20030805185523.GA686@golliher.net> From time to time I get curious about what version of a module, like DBI, is installed on a system. Does anybody know of a way to find it without visiting the module itself and viewng it's source? tia, -Darrell From jim at giffords.net Tue Aug 5 14:03:21 2003 From: jim at giffords.net (Jim Gifford) Date: Mon Aug 2 21:28:36 2004 Subject: [Classiccity-pm] Checking version of an installed module? In-Reply-To: <20030805185523.GA686@golliher.net> References: <20030805185523.GA686@golliher.net> Message-ID: <20030805190321.GB29417@giffords.net> On Tue, Aug 05, 2003 at 02:55:23PM -0400, Darrell Golliher wrote: > > From time to time I get curious about what version of a module, like > DBI, is installed on a system. Does anybody know of a way to find it > without visiting the module itself and viewng it's source? > > tia, > > -Darrell Assuming well-behaved (ie, following the normal guidelines) modules, this should work: perl -MMyModule -e 'print $MyModule::VERSION,"\n"' hope this helps, jim From darrell at golliher.net Tue Aug 5 14:11:44 2003 From: darrell at golliher.net (Darrell Golliher) Date: Mon Aug 2 21:28:36 2004 Subject: [Classiccity-pm] Checking version of an installed module? In-Reply-To: <20030805190321.GB29417@giffords.net> References: <20030805185523.GA686@golliher.net> <20030805190321.GB29417@giffords.net> Message-ID: <20030805191144.GC831@golliher.net> On Tue, Aug 05, 2003 at 03:03:21PM -0400, Jim Gifford wrote: > > Assuming well-behaved (ie, following the normal guidelines) modules, this > should work: > > perl -MMyModule -e 'print $MyModule::VERSION,"\n"' > Thanks for the reply. A quick check of three modules yields 1 success and 2 failures. Bummer. perl -MDBI -e 'print $DBI::VERSION,"\n"' perl -MDBI -e 'print $DBD::mysql::VERSION,"\n"' perl -MTime::HiRes -e 'print $Time::HiRes,"\n"' Anybody have another idea? -Darrell From keith-classiccitypm at ledfords.us Tue Aug 5 14:15:39 2003 From: keith-classiccitypm at ledfords.us (Keith Ledford) Date: Mon Aug 2 21:28:36 2004 Subject: [Classiccity-pm] Checking version of an installed module? In-Reply-To: <20030805185523.GA686@golliher.net> References: <20030805185523.GA686@golliher.net> Message-ID: <20030805191539.GA4700@ledfords.us> perl -M -e 'print $::VERSION;' ex. perl -MXML::Parser -e 'print $XML::Parser::VERSION ."\n";' To see what modules have a newer version available: perl -e 'use CPAN; CPAN::Shell->r' HTH! P.S. The person that works for my was just doing this very thing. * Darrell Golliher [20030805 15:03]: > > From time to time I get curious about what version of a module, like > DBI, is installed on a system. Does anybody know of a way to find it > without visiting the module itself and viewng it's source? > > tia, > > -Darrell > _______________________________________________ > Classiccity-pm mailing list > Classiccity-pm@mail.pm.org > http://mail.pm.org/mailman/listinfo/classiccity-pm -- Keith Ledford From darrell at golliher.net Tue Aug 5 14:29:10 2003 From: darrell at golliher.net (Darrell Golliher) Date: Mon Aug 2 21:28:36 2004 Subject: [Classiccity-pm] Checking version of an installed module? In-Reply-To: <20030805191144.GC831@golliher.net> References: <20030805185523.GA686@golliher.net> <20030805190321.GB29417@giffords.net> <20030805191144.GC831@golliher.net> Message-ID: <20030805192910.GC1077@golliher.net> On Tue, Aug 05, 2003 at 03:11:44PM -0400, Darrell Golliher wrote: > On Tue, Aug 05, 2003 at 03:03:21PM -0400, Jim Gifford wrote: > > > > > Assuming well-behaved (ie, following the normal guidelines) modules, this > > should work: > > > > perl -MMyModule -e 'print $MyModule::VERSION,"\n"' > > > Thanks for the reply. A quick check of three modules yields 1 > success and 2 failures. Bummer. > > perl -MDBI -e 'print $DBI::VERSION,"\n"' Worked. > perl -MDBI -e 'print $DBD::mysql::VERSION,"\n"' ^^^ oops, my goof. > perl -MTime::HiRes -e 'print $Time::HiRes,"\n"' ^^^^ Doah, another goof. Thanks guys, Darrell From jim at giffords.net Tue Aug 5 14:32:00 2003 From: jim at giffords.net (Jim Gifford) Date: Mon Aug 2 21:28:36 2004 Subject: [Classiccity-pm] Checking version of an installed module? In-Reply-To: <20030805191144.GC831@golliher.net> References: <20030805185523.GA686@golliher.net> <20030805190321.GB29417@giffords.net> <20030805191144.GC831@golliher.net> Message-ID: <20030805193200.GD29417@giffords.net> On Tue, Aug 05, 2003 at 03:11:44PM -0400, Darrell Golliher wrote: > On Tue, Aug 05, 2003 at 03:03:21PM -0400, Jim Gifford wrote: > > > > > Assuming well-behaved (ie, following the normal guidelines) modules, this > > should work: > > > > perl -MMyModule -e 'print $MyModule::VERSION,"\n"' > > > Thanks for the reply. A quick check of three modules yields 1 > success and 2 failures. Bummer. > > perl -MDBI -e 'print $DBI::VERSION,"\n"' > perl -MDBI -e 'print $DBD::mysql::VERSION,"\n"' > perl -MTime::HiRes -e 'print $Time::HiRes,"\n"' > > Anybody have another idea? > > > -Darrell hmm, very odd, but looks like you have some typos in there. here's what I get with activestate perl: C:\Perl\bin>perl -MDBD::mysql -e "print $DBD::mysql::VERSION" 2.9002 C:\Perl\bin>perl -MDBI -e "print $DBI::VERSION" 1.37 C:\Perl\bin>perl -MTime::HiRes -e "print $Time::HiRes::VERSION" 1.2 C:\Perl\bin> jim From darrell at golliher.net Mon Aug 11 11:41:41 2003 From: darrell at golliher.net (Darrell Golliher) Date: Mon Aug 2 21:28:36 2004 Subject: [Classiccity-pm] Very First ClassicCity.pm this Thursday Message-ID: <20030811164141.GA26013@golliher.net> I'd like to remind everybody that ClassicCity.pm meets for the very first time this Thursday, August 14th, at 7:30pm in the small conference room of the Athens Regional Library on Baxter Street. The meeting will start promptly at 7:30pm. Ours is a very small group. I hope you can all make it to the meeting. Everyone is invited to take 5 minutes of the meeting and making it their very own soap box. I'll be speaking, Mark Hazen will be speaking and I hope some of you will write and say you'd like to speak too. This format lends itself to all kinds of fun. If you want to take 5 minutes and read perl poetry, go for it. Five minutes to go on a rant against XML? Go for it. Five minutes to talk about your own project? Go for it. The agenda so far: * Group business. Our group isn't likely to need much administration and I hope to keep this section short. * Talk by Mark Hazen: TBA (5 minutes) * Talk by Darrell Golliher: Selections from my favorite Perl Modules Part I (5 minutes) Please go to http://classiccity.pm.org/null?FirstMeeting and put your name down if you are planning to attend. Also, please feel free to edit that page and put your own five minute talk on the agenda. See you Thursday! -Darrell Golliher, Perl Monger From darrell at golliher.net Wed Aug 13 15:04:42 2003 From: darrell at golliher.net (Darrell Golliher) Date: Mon Aug 2 21:28:36 2004 Subject: [Classiccity-pm] ClassicCity.pm Meeting? Message-ID: <20030813200442.GA27551@golliher.net> I see absolutely nobody is planning to attend the meeting tomorrow night. http://classiccity.pm.org/null?FirstMeeting So what's the deal. Not interested in having meetings? Did I pick a bad time/place? Have you all ditched perl in favor of python since we last talked? -Darrell From cygnus at cprogrammer.org Wed Aug 13 15:02:43 2003 From: cygnus at cprogrammer.org (Jonathan Daugherty) Date: Mon Aug 2 21:28:36 2004 Subject: [Classiccity-pm] ClassicCity.pm Meeting? In-Reply-To: <20030813200442.GA27551@golliher.net> References: <20030813200442.GA27551@golliher.net> Message-ID: <20030813200243.GA8171@mail.theserver.ath.cx> # So what's the deal. Not interested in having meetings? Did I pick a bad # time/place? Have you all ditched perl in favor of python since we # last talked? I've just been lazy. -- Jonathan Daugherty http://www.cprogrammer.org