Ben Sommer > Myco-1.22 > Myco::Util::Misc

Download:
Myco-1.22.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

NAME ^

Myco::Util::Misc - a humble perl package

SYNOPSIS ^

  use Myco::Util::Misc;

DESCRIPTION ^

A simple shell to store oft-used routines for miscellaneous tasks.

ADDED CLASS METHODS ^

hash_with_no_values_to_array

  my $attribute_label = Myco::Util::Misc->pretty_print('person_last_name');
  my $do_these_words_match = $attribute_label eq 'Person Last Name';

Convert the keys of a hash ref with all values blank to an array ref. Mainly used to provide a hack to Config::General, which lacks a function to specify a multi-valued config value without many repetitious lines.

LICENSE AND COPYRIGHT ^

Copyright (c) 2006 the myco project. All rights reserved. This software is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO ^

Myco,

syntax highlighting: