MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

value-extended vs $Safe{value}{name}



It isn't clear from the docs what happens to perl
$Safe{'values'}{'mycheckbox'} when the form variable is an array. Is it a
hash, array or what and how do you get to the values? I want to access this
array directly rather than going

[perl arg=values]
my $out = "";
my $string = "[value-extended name=mycheckbox index=* joiner=':']";
my @ary = split /:/,$string;
foreach $ary (@ary) {
    $out .= "you checked $ary then ";  # this is not my real output
}
$out;
[/perl]

which doesn't seem to work anyway or i would live with it (it seems to only
get the first value in the array). i am using mv 3.14-3 with perl 5.00503

thanks much!
dana
durango, colorado



Search for: Match: Format: Sort by: