Re: CGI and DBI : using db queries in html

[email protected] (Paul Lalli)
Newsgroups perl.beginners.cgi
Organization http://groups.google.com
Message-ID <[email protected]>
On Nov 8, 6:34 pm, [email protected] (David Moreno Garza) wrote:
> On Thu, 2007-11-08 at 11:22 -0800, neil wrote:
> > $q -> popup_menu(-name => 'study_select', -values =>
> > [@studies]),
>
> You should be passing: -values => \@studies.

Please don't reply when you don't know what you're talking about.
[ @studies ] is a reference to an anonymous array that contains the
values in @studies.  \@studies is a reference to @studies.

In the usage that the OP gave, there is NO DIFFERENCE between the two.

Paul Lalli
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.