- diag " ds $pos => ",Dumper($ds) if ($debug);
-
- # TODO move somewhere
- {
- no strict 'subs';
- use WebPAC::Normalize::Set;
- set_lookup( $lookup->lookup_hash );
- clean_ds();
- eval "$norm_pl";
- ok(! $@, $@ ? "error: $@" : "no error");
- ok(my $ds2 = get_ds(), "get_ds");
- is_deeply( $ds, $ds2, 'ds same for xml and sets');
-
- diag " ds2 $pos => ",Dumper($ds2) if ($debug);
- }