Class-Usul
view release on metacpan or search on metacpan
lib/Class/Usul/Functions.pm view on Meta::CPAN
=head2 C<assert_directory>
$untainted_path = assert_directory $path_to_directory;
Untaints directory path. Makes it an absolute path and returns it if it
exists. Returns undef otherwise
=head2 C<base64_decode_ns>
$decoded_value = base64_decode_ns $encoded_value;
Decode a scalar value encode using L</base64_encode_ns>
=head2 C<base64_encode_ns>
$encoded_value = base64_encode_ns $encoded_value;
Base 64 encode a scalar value using an output character set that preserves
the input values sort order (natural sort)
lib/Class/Usul/Options.pm view on Meta::CPAN
s%: hash of string
f : float value
By default, it's a boolean value.
=item C<json>
Boolean which if true means that the argument to the option is in JSON format
and will be decoded as such
=item C<negateable>
Applies only to boolean types. Means you can use C<--nooption-name> to
explicitly indicate false
=item C<order>
Specifies the order in which usage options appear. Attributes with no C<order>
value are alpha sorted
( run in 0.250 second using v1.01-cache-2.11-cpan-a9ef4e587e4 )