Skip to content

Commit

Permalink
call it a dialect
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 29, 2016
1 parent ea5d85f commit d7ef0b7
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions lib/Mojolicious/Guides.pod
Expand Up @@ -38,19 +38,17 @@ L<HTTP|https://developer.mozilla.org/en-US/docs/Web/HTTP>.

=head1 CONVENTIONS

L<Mojolicious> uses modern Perl exclusively, and therefore all documentation
assumes that L<strict>, L<warnings>, L<utf8> and Perl 5.10 features are enabled,
even if examples don't specifically mention it.
L<Mojolicious> uses a modern dialect of Perl exclusively, and therefore all
documentation assumes that L<strict>, L<warnings>, L<utf8> and Perl 5.10
features are enabled, even if examples don't specifically mention it.

use strict;
use warnings;
use utf8;
use feature ':5.10';

You can avoid adding all this boilerplate code to your Perl files by using
L<Mojo::Base> instead, which has the same effect.

use Mojo::Base -strict;
Some modules like L<Mojo::Base> and L<Mojolicious::Lite> will enable them for
you automatically.

=head1 TUTORIAL

Expand Down

0 comments on commit d7ef0b7

Please sign in to comment.