%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/usr/local/share/perl5/Test/Deep/
Upload File :
Create Path :
Current File : //proc/self/root/usr/local/share/perl5/Test/Deep/HashEach.pm

use strict;
use warnings;

package Test::Deep::HashEach;

use Test::Deep::Cmp;

sub init
{
	my $self = shift;

	my $val = shift;

	$self->{val} = $val;
}

sub descend
{
	my $self = shift;
	my $got = shift;

	my %exp;

	@exp{keys %$got} = ($self->{val}) x (keys %$got);

	return Test::Deep::descend($got, \%exp);
}

1;

Zerion Mini Shell 1.0