Alt-common-sense-TOBYINK

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

    with common::sense 3.73.

SYNOPSIS
       use common::sense;
   
       # your code goes here

DESCRIPTION
    Importing common::sense is roughly equivalent to:

       use utf8;
       use strict qw(vars subs);
       use feature qw(say state switch);
       use feature qw(unicode_strings current_sub fc evalbytes);
       no feature qw(array_base);
       no warnings;
       use warnings qw(FATAL closed threads internal debugging pack
                       portable prototype inplace io pipe unpack malloc
                       deprecated glob digit printf layer
                       reserved taint closure semicolon);
       no warnings qw(exec newline unopened);

lib/Alt/common/sense/TOBYINK.pm  view on Meta::CPAN

=head1 SYNOPSIS

   use common::sense;
   
   # your code goes here

=head1 DESCRIPTION

Importing L<common::sense> is roughly equivalent to:

   use utf8;
   use strict qw(vars subs);
   use feature qw(say state switch);
   use feature qw(unicode_strings current_sub fc evalbytes);
   no feature qw(array_base);
   no warnings;
   use warnings qw(FATAL closed threads internal debugging pack
                   portable prototype inplace io pipe unpack malloc
                   deprecated glob digit printf layer
                   reserved taint closure semicolon);
   no warnings qw(exec newline unopened);

lib/common/sense.pm  view on Meta::CPAN

use 5.006;
use strict;
use warnings;
use utf8;

package #
	common::sense;

our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION   = '3.73';

sub import
{
	# utf8
	'utf8'->import;
	
	# strict
	'strict'->import( qw(vars subs) );
	
	# feature
	if ($] >= 5.010)
	{
		require feature;
		'feature'->import( qw(say state switch) );
		'feature'->import( qw(unicode_strings) ) if $] >= 5.012;



( run in 0.611 second using v1.01-cache-2.11-cpan-49f99fa48dc )