Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: label usage

by bm (Hermit)
on Aug 18, 2003 at 16:33 UTC ( #284631=note: print w/replies, xml ) Need Help??


in reply to label usage

Try changing
%labels=('1=>a', '2=>b', '3=>c');
to
%labels =( 1=>'a', 2=>'b', 3=>'c');
Also, I recommend turning on warnings and strict.
--
bm

Replies are listed 'Best First'.
Re: Re: label usage
by Anonymous Monk on Aug 18, 2003 at 17:23 UTC
    thanks .. it works ... but from within my script, how can I determine which selections were made by the user?
      use CGI; my $cgi = new CGI; my @letters = $cgi->param('avletters'); print "The user selected: "; print "$_\n" foreach(@letters);

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://284631]
help
Chatterbox?
[Cosmic37]: is there a webpage for full CB for this chat rather than side panel chat?
[Cosmic37]: thank you for advice
[Cosmic37]: peach greets jedi
[Cosmic37]: ok this one works better fullpage chat
[Cosmic37]: test
[Cosmic37]: sort of anyway... hurls some peaches... :-D

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2017-06-29 16:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (672 votes). Check out past polls.