GO::Utils3pm
Utilities for go modules
merge_hashes
joins two hashes together
usage: merge_hashes(\%h1, \%h2);
%h1 will now contain the key/val pairs of %h2 as well. if there are key conflicts, %h2 values will take precedence.
get_method_ref
returns a pointer to a particular objects methode.g. my $length_f = get_method_ref($seq, 'length');$len = &$length_f();
pset2hash
Usage - my $h = pset2hash([{name=>"id", value=>"56"}, {name=>"name", value=>"jim"}]);Returns - hashrefArgs - arrayref of name/value keyed hashrefs
spell_greek
takes a word as a parameter and spells out any greek symbols encoded within (eg s/&agr;/alpha/g)
check_obj_graph
Usage -Returns - true if cycle detectedArgs - any object
Releases
9 releases since Debian 5.0 (Lenny); the text changed 7 times.