in reply to Mason and (multiple) checkbox processing
If not, you can fix it up in code as follows:
my %lookup; { my $lookup = $ARGS{lookup}; if (ref($lookup)) { $lookup{$lookup} = 1; } else { $lookup{$_} = 1 foreach (@$lookup); } } print($_, ': ', ($lookup{$_}?"checked":"not checked"), $/) foreach (qw(partof morph fuzzy regex));
There might be a better way, but I don't know Mason at all.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Mason and (multiple) checkbox processing
by PetaMem (Priest) on Oct 30, 2004 at 22:05 UTC |