modules and modules are now listed in alphabetic order.
zebraVersion => $zebraVersion,
);
zebraVersion => $zebraVersion,
);
+my @component_names =
+ qw/MARC::File::XML MARC::Charset Class::Accessor
+ LWP::Simple XML::Simple Net::Z3950
+ Event Net::LDAP PDF::API2
+ Mail::Sendmail MARC::Record Digest::MD5
+ HTML::Template DBD::mysql Date::Manip
+ DBI Smart::Comments ZOOM
+ /;
-foreach my $component (qw/MARC::File::XML MARC::Charset Class::Accessor
- LWP::Simple XML::Simple Net::Z3950
- Event Net::LDAP PDF::API2
- Mail::Sendmail MARC::Record Digest::MD5
- HTML::Template DBD::mysql Date::Manip
- DBI Smart::Comments ZOOM
- /) {
+foreach my $component (sort @component_names) {
my $version;
if (eval "require $component") {
$version = $component->VERSION;
my $version;
if (eval "require $component") {
$version = $component->VERSION;
$version = 'module is missing';
}
$version = 'module is missing';
}
- name => $component,
- version => $version,
- };
+ name => $component,
+ version => $version,
+ }
+ );
+ <caption>Perl modules</caption>
<!-- TMPL_LOOP name="components" -->
<tr>
<th scope="row"><!-- TMPL_VAR NAME="name" --></th>
<!-- TMPL_LOOP name="components" -->
<tr>
<th scope="row"><!-- TMPL_VAR NAME="name" --></th>