in reply to Re: how to make dependent drop down in perl script
in thread how to make dependent drop down in perl script
Best guess is that you forgot to print the Content-Type header before the loop you have shown us. Working SSCCE:
#!/usr/bin/env perl use strict; use warnings; print "Content-type: text/plain\n\n"; my %folderhash2 = ( '1005' => 'SG', '1007' => 'NA', '1010' => 'Global', '0' => 'None', '1006' => 'Link', ); foreach my $folderMap2 (sort keys %folderhash2) { printf "%-8s %s\n", $folderMap2, $folderhash2{$folderMap2}; }
🦛
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: how to make dependent drop down in perl script (missing header)
by Anonymous Monk on Apr 28, 2023 at 20:12 UTC | |
by hippo (Archbishop) on Apr 28, 2023 at 22:02 UTC | |
by Anonymous Monk on May 01, 2023 at 15:11 UTC | |
by marto (Cardinal) on May 01, 2023 at 15:26 UTC | |
by Anonymous Monk on May 01, 2023 at 14:20 UTC | |
by marto (Cardinal) on May 01, 2023 at 14:25 UTC | |
by Anonymous Monk on May 01, 2023 at 15:26 UTC | |
|