Skip to content

Commit

Permalink
explain which Perl features are automatically enabled in templates an…
Browse files Browse the repository at this point in the history
…d config files
  • Loading branch information
kraih committed Jun 15, 2012
1 parent 340c545 commit ddf2267
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions lib/Mojo/Template.pm
Expand Up @@ -408,6 +408,9 @@ content with the L<Mojolicious> renderer.
=head1 SYNTAX
For all templates L<strict>, L<warnings> and Perl 5.10 features are
automatically enabled.
<% Perl code %>
<%= Perl expression, replaced with result %>
<%== Perl expression, replaced with XML escaped result %>
Expand Down
3 changes: 2 additions & 1 deletion lib/Mojolicious/Plugin/Config.pm
Expand Up @@ -109,7 +109,8 @@ Mojolicious::Plugin::Config - Perl-ish configuration plugin
L<Mojolicious::Plugin::Config> is a Perl-ish configuration plugin.
The application object can be accessed via C<$app> or the C<app> function. You
The application object can be accessed via C<$app> or the C<app> function,
L<strict>, L<warnings> and Perl 5.10 features are automatically enabled. You
can extend the normal configuration file C<myapp.conf> with C<mode> specific
ones like C<myapp.$mode.conf>. A default configuration filename will be
generated by decamelizing the application class with
Expand Down

0 comments on commit ddf2267

Please sign in to comment.