From: Marcus Ramberg Date: Sat, 16 Apr 2005 19:38:22 +0000 (+0000) Subject: Fixed: builtin actions are private too (Tutorial Docs) X-Git-Tag: 5.7099_04~1499 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=b160463fabb0b2c1d0914427e2265ee8152efb46 Fixed: builtin actions are private too (Tutorial Docs) Updated: Helper documentation --- diff --git a/lib/Catalyst/Helper.pm b/lib/Catalyst/Helper.pm index f4f2110..ee6f6f9 100644 --- a/lib/Catalyst/Helper.pm +++ b/lib/Catalyst/Helper.pm @@ -22,7 +22,7 @@ See L =head1 DESCRIPTION -Bootstrap a Catalyst application. +Bootstrap a Catalyst application. Autogenerates scripts =head2 METHODS @@ -50,6 +50,8 @@ sub get_file { =head3 mk_app +Create the main application skeleton. + =cut sub mk_app { @@ -76,6 +78,9 @@ sub mk_app { =head3 mk_component +This method is called by create.pl to make new components +for your application. + =cut sub mk_component { @@ -154,6 +159,8 @@ sub mk_component { =head3 mk_dir +Surprisingly, this function makes a directory. + =cut sub mk_dir { @@ -171,6 +178,8 @@ sub mk_dir { =head3 mk_file +writes content to a file. + =cut sub mk_file { @@ -209,7 +218,8 @@ sub next_test { =head3 render_file -Render and create a file from a template in DATA. +Render and create a file from a template in DATA using +Template Toolkit. =cut @@ -361,8 +371,8 @@ Sebastian Riedel, C =head1 LICENSE -This library is free software . You can redistribute it and/or modify it under -the same terms as perl itself. +This library is free software . You can redistribute it and/or modify +it under the same terms as perl itself. =cut @@ -407,8 +417,8 @@ Clever guy =head1 LICENSE -This library is free software . You can redistribute it and/or modify it under -the same terms as perl itself. +This library is free software . You can redistribute it and/or modify +it under the same terms as perl itself. =cut @@ -490,8 +500,8 @@ Sebastian Riedel, C Copyright 2004 Sebastian Riedel. All rights reserved. -This library is free software. You can redistribute it and/or modify it under -the same terms as perl itself. +This library is free software. You can redistribute it and/or modify +it under the same terms as perl itself. =cut @@ -529,8 +539,8 @@ Sebastian Riedel, C Copyright 2004 Sebastian Riedel. All rights reserved. -This library is free software. You can redistribute it and/or modify it under -the same terms as perl itself. +This library is free software. You can redistribute it and/or modify +it under the same terms as perl itself. =cut @@ -588,8 +598,8 @@ Sebastian Riedel, C Copyright 2004 Sebastian Riedel. All rights reserved. -This library is free software. You can redistribute it and/or modify it under -the same terms as perl itself. +This library is free software. You can redistribute it and/or modify +it under the same terms as perl itself. =cut @@ -646,8 +656,8 @@ Sebastian Riedel, C Copyright 2004 Sebastian Riedel. All rights reserved. -This library is free software. You can redistribute it and/or modify it under -the same terms as perl itself. +This library is free software. You can redistribute it and/or modify +it under the same terms as perl itself. =cut @@ -707,8 +717,8 @@ Sebastian Riedel, C Copyright 2004 Sebastian Riedel. All rights reserved. -This library is free software. You can redistribute it and/or modify it under -the same terms as perl itself. +This library is free software. You can redistribute it and/or modify +it under the same terms as perl itself. =cut @@ -743,8 +753,8 @@ Clever guy =head1 LICENSE -This library is free software . You can redistribute it and/or modify it under -the same terms as perl itself. +This library is free software . You can redistribute it and/or modify +it under the same terms as perl itself. =cut diff --git a/lib/Catalyst/Manual/Tutorial.pod b/lib/Catalyst/Manual/Tutorial.pod index adfc086..3fc66fe 100644 --- a/lib/Catalyst/Manual/Tutorial.pod +++ b/lib/Catalyst/Manual/Tutorial.pod @@ -195,9 +195,10 @@ this action registered the application will respond to all requests with the same message "Congratulations, My::App is on Catalyst!". As you see, the default action is defined as a Private action. -Most private actions are not directly available from a web url. The -exceptions are the built-in actions, 'default','begin','end' and -'auto'. The rest can only be reached by using C. +Most private actions are not directly available from a web url. This +also includes the built-in actions, 'default','begin','end' and +'auto', although they will be called as part of some chains. +The rest can only be reached by using C. The call to the C method also triggers the second stage of