NAME

DP::Perl - several languange extensions

SYNOPSIS

use DP::Perl qw( :ALL );

...
...

DESCRIPTION

EXPORT

nothing

FUNCTIONS

all_defined
$bool = all_defined( @values )

Return FALSE if some of values in array are undefined

hf (hash filter)
@values_by_filtered_keys = hf( $precompiled_regex, %hash_array )
%hash_array_of_filtered_keys = %{hf( $precompiled_regex, %hash_array )}

example

%hash   = (key_ax=>'val_ax', key_ay=>'val_ay', key_bx=>'val_bx', key_by=>'val_by');
@values = hf(qr/\w+/,%hash);
%values = %{hf(qr/\w+/,%hash)};

FILES

REVISION

project started: 2003/05/09

$Id: Perl.pm_rev 1.4 2004/01/01 21:07:22 root Exp root $

AUTHOR

Daniel Peder

<Daniel.Peder@Infoset.COM>
http://www.infoset.com

SEE ALSO