Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I have Perl 5.8 on my local Windows workstation and now loading a script to a Windows NT server with Perl 5.6. I am calling the below module in my script and want to know if it was included in Perl 5.6? Or was it loaded with 5.8??
File::Basename

Replies are listed 'Best First'.
Re: Checking if module was released with 5.6
by xdg (Monsignor) on Apr 03, 2006 at 19:12 UTC

    You want to use Module::CoreList.

    > corelist -a File::Basename File::Basename was first released with perl 5 5 undef 5.001 undef 5.002 undef 5.00307 2.4 5.004 2.5 5.00405 2.6 5.005 2.6 5.00503 2.6 5.00504 2.6 5.006 2.6 5.006001 2.6 5.006002 2.6 5.007003 2.71 5.008 2.71 5.008001 2.72 5.008002 2.72 5.008003 2.72 5.008004 2.72 5.008005 2.73 5.008006 2.73 5.008007 2.73 5.008008 2.74 5.009 2.72 5.009001 2.72 5.009002 2.73 5.009003 2.74

    -xdg

    Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

      thanks, It looks like the Web Server should have that module because it should have been in the standard release of 5.6
Re: Checking if module was released with 5.6
by rjsaulakh (Beadle) on Apr 03, 2006 at 18:36 UTC

    you can use this to find the modules installed </p.

    use ExtUtils::Installed; my $inst =Exitutils::Installed->new(); my @modules = $inst -> modules();
Re: Checking if module was released with 5.6
by ikegami (Patriarch) on Apr 03, 2006 at 18:13 UTC
    Search CPAN for perl, the choose the appropriate version. Specifically, 5.6.0