NAME
feature::globally - Turn on a feature by default everywhere hereafter
SYNOPSIS
#!/usr/bin/perl
use strict;
use feature::globally qw/ say /;
use Greet;
Greet::hello();
# in Greet.pm
package Greet;
use strict;
sub hello {
say "Helloooooo!!!!";
}
DESCRIPTION
I got tired of putting "use 5.010" at the top of every module. So now I can throw this in my toplevel program and not have to Repeat Myself elsewhere.
In theory you should be able to pass it whatever you pass to "use feature".
SEE ALSO
Acme::use::strict::with::pride -- from which most code came!
Also look at feature.
AUTHOR
Brock Wilcox <awwaiid@thelackthereof.org> - http://thelackthereof.org/
Thanks to mst and #moose ;-)
COPYRIGHT
Copyright (c) 2008 Brock Wilcox <awwaiid@thelackthereof.org>. All rights
reserved. This program is free software; you can redistribute it and/or
modify it under the same terms as Perl 5.10 or later.