NAME Dpchrist::LangUtil - Perl language utilities DESCRIPTION This documentation describes module revision $Revision: 1.19 $. This is alpha test level software and may change or disappear at any time. SUBROUTINES arrayref_cmp arrayref_cmp ARRAYREF,ARRAYREF Applies '<=>' (spaceship) operator to array lengths and then applies 'cmp' operator to array elements in turn. Returns first non-zero comparison result encountered, or zero if arrays have equal length and if all corresponding elements are equal strings. Returns -1 if an undefined value is encountered. Calls confess() on error. defined_or defined_or LIST Returns first defined LIST element, void if LIST is empty, or void if all LIST elements are the undefined value. hashref_keys hashref_keys HASHREF Returns keys of hash reference. Calls confess() on error. EXPORT None by default. All of the subroutines may be imported by using the ':all' tag: use Dpchrist::LangUtil qw( :all ); INSTALLATION Old school: $ perl Makefile.PL $ make $ make test $ make install Minimal: $ cpan Dpchrist::LangUtil Complete: $ cpan Bundle::Dpchrist PREREQUISITES See Makefile.PL in the source distribution root directory. AUTHOR David Paul Christensen dpchrist@holgerdanske.com COPYRIGHT AND LICENSE Copyright (c) 2010 by David Paul Christensen dpchrist@holgerdanske.com This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.