For more, you can read `perldoc perlmod`
(http://perldoc.perl.org/perlmod.html). Note I am NOT saying RTFM. I
personally love perldoc, but it can be hard to find what you are
looking for.

Cheers,
Joel

On Mon, Jan 30, 2012 at 11:17 AM, Ingo Schmid <[email protected]> wrote:
> argh, I tried several forms of version, but not all capital. Thanks,
>
>
> On 01/30/2012 05:28 PM, Joel Berger wrote:
>>
>> For almost any Perl module you can inspect the package variable
>> $VERSION (i.e. $PDL::VERSION from some other package).
>>
>> For PDL (as a one liner):
>>
>> perl -E 'use PDL; say $PDL::VERSION'
>>
>>
>>
>> On Mon, Jan 30, 2012 at 10:09 AM, Ingo Schmid<[email protected]>  wrote:
>>>
>>> Hi,
>>>
>>> I need to check for a certain feature and check the PDL version from
>>> within
>>> a program. How do I get the number?
>>>
>>> Thanks
>>> Ingo
>>>
>>> _______________________________________________
>>> Perldl mailing list
>>> [email protected]
>>> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
>>>
>

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to