[Catalyst] Catalyst $c->request->params

疾驰者 78778487 at qq.com
Sat Jun 1 12:32:10 GMT 2013


Dear friends:  
    I read and follow http://www.catalystframework.org/calendar/2012/8 article, These code
-------------------------------------------------------
 $c->request->params 
-------------------------------------------------------
in controller Manage.pm, and 
--------------------------------------------------------
write_file $database_file, { append => 1 },
      "$id|$params->{first_name}|$params->{last_name}|$params->{email}\n";
----------------------------------------------------------
in model DB.pm, 'first_name' and 'last_name' can't get from database_file.txt and  two pm file.

   What's the principle?
   $c is so import and complex, how can I get it from formal pod document or some special article such as http://www.catalystframework.org/calendar/2012/8? 

  Thanks a lot.
                                                                                                                      Thai Heng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20130601/83df2cf8/attachment.htm


More information about the Catalyst mailing list