- or download this
foreach my $key ( keys %ARGS ) {
if ( $key =~ m/^edit_name_(\d+)$/ ) {
...
$m->out( "<p>Edit type $num = $type</p>" );
}
}
- or download this
my %edit_name = ();
my %edit_type = ();
...
foreach my $num ( sort { $a <=> $b } keys %edit_type ) {
$m->out( "<br />Type number $num is " . $edit_type{$num} );
}
- or download this
my %edit = ();
foreach my $key ( keys %ARGS ) {
...
);
}
$m->out( "</table>" );