[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cgiapp] Setting query at runtime (after start up)


Hola,

I just noticed that the "query" property in CGI::App is immutable after
start-up. This doesn't make much sense to me since we can still
add/delete key-value pairs to/from the object one at a time, or remove
all key-value pairs at once. 

Does anyone know the logic behind this? Jesse would you be willing to
lift this restriction?

thanks,

-john

PS I am using a general method "showForm" for displaying forms. The
HTML::FillInForm module called within this method takes a query as an
argument. I this situation, I'd like to create a fresh query object and
initialize it with a hash. Unfortunately you cannot pass a hash to
$query->param, otherwise I'd remove all key value pairs from the
existing query object and add mine. Any solutions would be graciously appreciated.

__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.