Class::Param::Ordered - Class Param Ordered
$param = Class::Param::Ordered->new; $param->param( D => 4 ); $param->param( C => 3 ); $param->param( B => 2 ); $param->param( A => 1 ); @names = $param->names; # ( D, C, B, A )
A param class which remembers insertion order.
Constructor. Takes no arguments.
The rest of the API is the same as Class::Param.
Class::Param.
Christian Hansen chansen@cpan.org
chansen@cpan.org
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
To install Class::Param, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Class::Param
CPAN shell
perl -MCPAN -e shell install Class::Param
For more information on module installation, please visit the detailed CPAN module installation guide.