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