File: HashInit.pm

package info (click to toggle)
libgnupg-interface-perl 1.04-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 824 kB
  • sloc: perl: 3,828; makefile: 6; sh: 5
file content (12 lines) | stat: -rw-r--r-- 189 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
package GnuPG::HashInit;
use Moo::Role;

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

1;
__END__