File: HashInit.pm

package info (click to toggle)
libgnupg-interface-perl 0.42-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 632 kB
  • ctags: 224
  • sloc: perl: 2,823; makefile: 2
file content (12 lines) | stat: -rw-r--r-- 197 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
package GnuPG::HashInit;
use Any::Moose 'Role';

sub hash_init {
    my ($self, %args) = @_;
    while ( my ( $method, $value ) = each %args ) {
        $self->$method($value);
    }
}

1;
__END__