#;

open my $pod_fh, '>', $FindBin::Bin . '/../lib/Module/OTRS/CoreList.pod';
print $pod_fh qq~# PODNAME: Module::OTRS::CoreList

NAME

Module::OTRS::CoreList - what modules shipped with versions of OTRS (>= 2.3.x)

VERSION

version $dist_version

~;

print $pod_fh q~=head1 SYNOPSIS

use Module::OTRS::CoreList;

my @otrs_versions = Module::OTRS::CoreList->shipped(
   '2.4.x',
   'Kernel::System::DB',
);

# returns (2.4.0, 2.4.1, 2.4.2,...)

my @modules = Module::OTRS::CoreList->modules( '2.4.8' );
my @modules = Module::OTRS::CoreList->modules( '2.4.x' );

# methods to check for CPAN modules shipped with OTRS

my @cpan_modules = Module::OTRS::CoreList->cpan_modules( '2.4.x' );

my @otrs_versions = Module::OTRS::CoreList->shipped(
   '3.0.x',
   'CGI',
);

~;

print $pod_fh qq~ =head1 AUTHOR

$dist_author

COPYRIGHT AND LICENSE

$dist_copyright ~;

}