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
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/