GO::Utils(3pm)

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 method
 e.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 - hashref
  Args    - 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 detected
  Args    - any object

Releases

9 releases since Debian 5.0 (Lenny); the text changed 7 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11–12
  8. 13

From libgo-perl 0.15-10 in Debian 13 (Trixie). Parsed by carta from the page's man source.