Alt-common-sense-TOBYINK

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

       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);

    Unfortunately the installation process (and to a lesser extent, the
    implementation) for common::sense is fairly crazy.

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

   
   # 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);

Unfortunately the installation process (and to a lesser extent, the
implementation) for L<common::sense> is fairly crazy.

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

	'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;
		if ($] >= 5.016)
		{
			'feature'->import( qw(current_sub fc evalbytes) );
			'feature'->unimport( qw(array_base) );
		}
	}
	
	# warnings
	'warnings'->unimport;
	'warnings'->import(



( run in 1.785 second using v1.01-cache-2.11-cpan-88abd93f124 )