SPUG: CGI.pm popup_menu()?
Jason Lamport
jason at strangelight.com
Thu Oct 26 03:36:48 CDT 2000
At 2:02 PM -0700 10/25/00, Richard Wood wrote:
>Brian,
>
>I use CGI.pm quit a bit. I believe all that you need
>to do is escape the array:
>
>\@Location:
>
>popup_menu(-name=>'Location',-values=>\@Location);
Technical nit-pick:
You aren't "escaping" the array, you're taking a reference to it.
There's a *big* difference. (The difference between, e.g.
print "\@Location";
and
print \@Location;
)
-jason
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
POST TO: spug-list at pm.org PROBLEMS: owner-spug-list at pm.org
Subscriptions; Email to majordomo at pm.org: ACTION LIST EMAIL
Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
For daily traffic, use spug-list for LIST ; for weekly, spug-list-digest
Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
More information about the spug-list
mailing list