aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-Modern-Perl/README
diff options
context:
space:
mode:
authorDaniel Bowling <swaggboi@slackware.uk>2020-09-12 05:58:54 +0100
committerDave Woodfall <dave@slackbuilds.org>2020-09-12 05:58:54 +0100
commit581c850cb4c7f630bc7d9d03aad36d4e7871c2ba (patch)
tree12c7fafa17a5670afd90eec31cf00a84882aef48 /perl/perl-Modern-Perl/README
parentf7039168d927624fb4c8d1e4b04e9a15707e48e7 (diff)
perl/perl-Modern-Perl: Added (enable features of Modern Perl)
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Diffstat (limited to 'perl/perl-Modern-Perl/README')
-rw-r--r--perl/perl-Modern-Perl/README14
1 files changed, 14 insertions, 0 deletions
diff --git a/perl/perl-Modern-Perl/README b/perl/perl-Modern-Perl/README
new file mode 100644
index 0000000000000..e1bd96c499b4c
--- /dev/null
+++ b/perl/perl-Modern-Perl/README
@@ -0,0 +1,14 @@
+Modern::Perl - enable all of the features of Modern Perl with one import
+
+Modern Perl programs use several modules to enable additional features
+of Perl and of the CPAN. Instead of copying and pasting all of these
+use lines, instead write only one:
+
+ use Modern::Perl;
+
+This enables the strict and warnings pragmas, as well as all of the
+features available in Perl 5.10. It also enables C3 method resolution
+order as documented in perldoc mro and loads IO::File and IO::Handle
+so that you may call methods on filehandles. In the future, it may
+include additional core modules and pragmas (but is unlikely to
+include non-core features).