[Catalyst] Not really a catalyst matter
Will Smith
willbelair at yahoo.com
Tue Nov 8 23:37:48 CET 2005
this question is kind of dumb, but it just does not work for me
my $artist= cd::M::CDBI::Artist->search(name=>$c->req->param(myartist));
on the template, if i choose to submit the form with the field named "myartist", it works fine. But if I use the onchange event for that same field, a select box (or text box), it says that:
[Tue Nov 8 17:28:40 2005] [catalyst] [error] Caught exception "Can't use string
("name") as a HASH ref while "strict refs" in use at C:/Perl/site/lib/Class/DBI
.pm line 1091."
---------------------------------
Yahoo! FareChase - Search multiple travel sites in one click.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20051108/7a8d2dd9/attachment.htm
More information about the Catalyst
mailing list