HTML-KhatGallery-Plugin-SortNaturally
view release on metacpan or search on metacpan
"dist_abstract" => "Plugin for khatgallery to use Natural sort for index lists.",
"dist_author" => [
"Kathryn Andersen"
],
"dist_name" => "HTML-KhatGallery-Plugin-SortNaturally",
"dist_version" => "0.02",
"license" => "perl",
"module_name" => "HTML::KhatGallery::Plugin::SortNaturally",
"recursive_test_files" => 1,
"requires" => {
"Sort::Naturally" => 0,
"strict" => 0,
"warnings" => 0
},
"test_requires" => {
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
"IO::Handle" => 0,
"IPC::Open3" => 0,
"Test::Distribution" => 0,
"Test::More" => 0,
configure_requires:
Module::Build: '0.28'
dynamic_config: 0
generated_by: 'Dist::Zilla version 6.024, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: '1.4'
name: HTML-KhatGallery-Plugin-SortNaturally
requires:
Sort::Naturally: '0'
strict: '0'
warnings: '0'
resources:
homepage: https://github.com/rubykat/HTML-KhatGallery-Plugin-SortNaturally
repository: https://github.com/rubykat/HTML-KhatGallery-Plugin-SortNaturally.git
version: '0.02'
x_generated_by_perl: v5.30.3
x_serialization_backend: 'YAML::Tiny version 1.73'
x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later'
Sorts the $dir_state->{files} array.
sort_dirs
Sorts the $dir_state->{subdirs} array.
REQUIRES
Test::More
HTML::KhatGallery
Sort::Naturally
INSTALLATION
To install this module, run the following commands:
perl Build.PL
./Build
./Build test
./Build install
README.mkdn view on Meta::CPAN
Sorts the $dir\_state->{files} array.
## sort\_dirs
Sorts the $dir\_state->{subdirs} array.
# REQUIRES
Test::More
HTML::KhatGallery
Sort::Naturally
# INSTALLATION
To install this module, run the following commands:
perl Build.PL
./Build
./Build test
./Build install
lib/HTML/KhatGallery/Plugin/SortNaturally.pm view on Meta::CPAN
my @plugins = qw(HTML::KhatGallery:;Core HTML::KhatGallery::Plugin::SortNaturally);
HTML::KhatGallery->import(@plugins);
HTML::KhatGallery->run(%args);
=head1 DESCRIPTION
This is a plugin for khatgallery to use Natural sort for index lists.
=cut
use Sort::Naturally;
=head1 OBJECT METHODS
Documentation for developers and those wishing to write plugins.
=head1 Dir Action Methods
Methods implementing directory-related actions. All such actions
expect a reference to a state hash, and generally will update either
that hash or the object itself, or both, in the course of their
lib/HTML/KhatGallery/Plugin/SortNaturally.pm view on Meta::CPAN
my @dirs = nsort(@{$dir_state->{subdirs}});
$dir_state->{subdirs} = \@dirs;
}
} # sort_dirs
=head1 REQUIRES
Test::More
HTML::KhatGallery
Sort::Naturally
=head1 INSTALLATION
To install this module, run the following commands:
perl Build.PL
./Build
./Build test
./Build install
t/00-report-prereqs.dd view on Meta::CPAN
'Pod::Coverage::TrustPod' => '0',
'Test::CPAN::Meta' => '0',
'Test::More' => '0',
'Test::Pod' => '1.41',
'Test::Pod::Coverage' => '1.08',
'Test::Portability::Files' => '0'
}
},
'runtime' => {
'requires' => {
'Sort::Naturally' => '0',
'strict' => '0',
'warnings' => '0'
}
},
'test' => {
'recommends' => {
'CPAN::Meta' => '2.120900'
},
'requires' => {
'ExtUtils::MakeMaker' => '0',
( run in 1.260 second using v1.01-cache-2.11-cpan-56fb94df46f )