true

 view release on metacpan or  search on metacpan

lib/true.pm  view on Meta::CPAN


=head1 SYNOPSIS

  package Contemporary::Perl;

  use strict;
  use warnings;
  use true;

  sub import {
      strict->import();
      warnings->import();
      true->import();
  }

=head1 DESCRIPTION

Perl's C<require> builtin (and its C<use> wrapper) requires the files it loads
to return a true value. This is usually accomplished by placing a single

    1;

t/lib/Contemporary/Perl.pm  view on Meta::CPAN

package Contemporary::Perl;

use strict;
use warnings;
use true ();

sub import {
    strict->import();
    warnings->import();
    true->import();
}

sub unimport {
    true->unimport();
}

1;



( run in 0.404 second using v1.01-cache-2.11-cpan-299005ec8e3 )