> type boilerplate if you use a template for new scripts
even w/o template, overhead doesn't become bigger.
use v5.12; makes the use strict; line obsolete
c:\Strawberry>perl -e"use v5.12; say 'works'"
works
c:\Strawberry>perl -e"use v5.12; say $x"
Global symbol "$x" requires explicit package name (did you forget to d
+eclare "my $x"?) at -e line 1.
Execution of -e aborted due to compilation errors.
c:\Strawberry>
update
So it's actually one character less.
Not sure why they didn't include "warnings" too.
|