Nov. 22nd, 2005

pechkin: (Default)
Updated:

sna4ala tak:

my %missing_fields = map(map({$_ => 1} @$_), @{$data->{mandatory_fields}});


Potom tak:

	local *register = sub
	{
	    my ($rList, $idx) = @_;
	    my $sym = $rList->[$idx];
	    $rhState->{TmpData}->{ref($sym)} = {symbol => $sym, index => $idx};

	    map({map(delete($missing_fields{$_}), @$_) if grep($sym->isa($_), @$_)} @{$data->{mandatory_fields}});
	};


A potom pobeda:

return 1 unless keys(%missing_fields);


Kone4no, mozhno ew,e ubrat' koe-4to. Kto-to u4il nas, 4to net takoj programmy, kotoruju nel'zja bylo by sokratit' xotja by na 2 bajta.

June 2025

S M T W T F S
1234567
8 910111213 14
15 16 1718 192021
22232425262728
29 30     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 6th, 2025 05:37 pm
Powered by Dreamwidth Studios