ser can access
$q -> popup_menu(-name => 'study_select', -values =>
[EMAIL PROTECTED]),
@studies is of length 2, but only one of these gets listed in the menu
that is generated.
Can anyone suggest how I go about using an array as a list of values
(and labels) in a popup_menu()?
Thanks for taking the time to look at this problem,
Neil
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
works :D and for reference is included below (in case
others are searching for similar solutions).
Thanks for your help,
Neil
#!/usr/bin/perl -w
use strict;
use CGI;
use DBI;
### Initialise a new CGI object
my $q = new CGI;
## Define the database connection
my $user = "";
my $
-
columns=>2),
but the table and checkboxes weren't drawn. Should I redefine my css
styles so that the blank table is actually how I want default tables
to be (i.e. change the font-size in the two lines given), or is it
possible to get the class="" set vic CGI.pm?
Cheers
Neil
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Jeremy Schwartz wrote
> but apache is not restarting.
What does your apache error log file say?
Neil
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
he file between and (over a number
of lines) and simply obliterate it, before reading the array line by line
using $_. Can anyone here offer any suggestions as to the best way to do a
search and replace over multiple lines of a file?
Many thanks,
Neil.
--
To unsubscribe, e-mail: [EMAIL PROTE