|
Posted by RedGrittyBrick on August 10, 2007, 10:07 am
Please log in for more thread options
Nick Wedd wrote:
> I know it is normal in this newsgroup to sneer at anyone who asks a
> question that they don't already know the answer to.
You're wrong, I often ask such questions and don't recall getting
sneered at normally. What you fear might be better expressed as:
It is commonplace in this newsgroup to express exasperation at anyone
who asks a question that can be *easily* answered from well-known
sources such as the Perl documentation, the newsgroup FAQ or Google.
You can often avoid such responses by introducing your question with a
short description of what you've tried. For example: "I've read 'perldoc
perlmod' and googled for 'perl module version' but not found how to ..."
The very act of composing such a sentence usually makes me double check
those sources - from which I often find something I overlooked.
> But I'll give it a shot anyway.
I find this newsgroup works well so long as you are not particularyly
thin-skinned nor have an overly inflated sense of your own infallibility :-)
> When my code says
> use GD;
> it works. My guess is that my web host has installed a copy of the GD
> module. How can I find its version number?
I think the `print $<modulename>::VERSION` idiom ought to work with any
module from CPAN.
|