[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
value-extended vs $Safe{value}{name}
- To: <minivend-users@minivend.com>
- Subject: value-extended vs $Safe{value}{name}
- From: dana <dk@frontier.net>
- Date: Mon, 13 Dec 1999 16:51:46 -0700
- User-Agent: Microsoft Outlook Express Macintosh Edition - 5.0 (1513)
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