Commit | Line | Data |
8e40e7ef |
1 | =head1 NAME |
2 | |
3 | Catalyst::Manual::FAQ - Frequently Asked Questions |
4 | |
5 | =head1 DESCRIPTION |
6 | |
45374ac6 |
7 | Frequently Asked Questions |
8 | |
9 | =head2 How do I regenerate the helper scripts? |
10 | |
15ddb673 |
11 | Outside your apps dir run the C<catalyst.pl> script with the same name, and the |
12 | C<-scripts> switch. |
13 | |
14 | catalyst.pl -scripts Foo |
15 | |
16 | To overwrite (instead of creating C<.new> files) use the C<-force> switch. |
8e40e7ef |
17 | |
f35d8959 |
18 | =head2 I have added tables to my DB - how to autogenerate the classes? |
19 | |
20 | Just run the _create.pl script again with the same parameters, it will ignore |
21 | the existing classes and create missing ones based on your DB layout. |
22 | |
3c5a3cab |
23 | =head2 What is the difference between $c->forward and $c->response->redirect? |
f35d8959 |
24 | |
25 | Forward will modify the flow control and neither reset the context object nor |
26 | end the request cycle while a redirect will. See L<Catalyst::Manual::Intro>. |
27 | |
3c5a3cab |
28 | =head2 How can I get rid of those timer comments when using TT as my view? |
29 | |
30 | This config line in MyApp::V::TT will disable this for you: |
31 | |
32 | __PACKAGE__->config->{CONTEXT} = undef; |
33 | |
f35d8959 |
34 | =head1 AUTHORS |
8e40e7ef |
35 | |
36 | Sebastian Riedel, C<sri@oook.de> |
f35d8959 |
37 | Danijel Milicevic, C<me@danijel.de> |
8e40e7ef |
38 | |
39 | =head1 COPYRIGHT |
40 | |
41 | This program is free software, you can redistribute it and/or modify it under |
42 | the same terms as Perl itself. |