in reply to Re: Is version a real module?
in thread Is version a real module?

So if I'm running version v5.8.4, what do I do with this? Is qv() a function of version.pm? Or is that a typo/bug? If I want to make my code compatible with older versions of perl, how would I adjust this code to run under my older version?

Thanks
-- Hugh

if( $lal && $lol ) { $life++; }

Replies are listed 'Best First'.
Re^3: Is version a real module?
by ikegami (Patriarch) on Dec 26, 2006 at 08:53 UTC

    Is qv() a function of version.pm? Or is that a typo/bug?

    qv is a function exported by version.

    If I want to make my code compatible with older versions of perl

    It already is. Just install the module.

Re^3: Is version a real module?
by ysth (Canon) on Dec 26, 2006 at 09:40 UTC
    The version module is available on CPAN, and should work with perl versions 5.005_04 or later. The Makefile.PL/META.yml created should list it as a prerequisite of your distribution. If you installed Module::Starter::PBP, you should have had a demonstration of how easy it is to install it as a prereq.

    Personally, I don't know that I'd consider it a best practice to use, especially with extended versions, but PBP is Damian's best practices, not mine.