Filewatcher File Search File Search
Catalog
Content Search
» » » » »

Test-Double-0.01.tar.gz

Homepage:-
Package version:-
Architecture:-
Distribution:Perl-CPAN
Filename:Test-Double-0.01.tar.gz

/Test-Double-0.01/README

NAME
    Test::Double - Perl extension for Test Double.

SYNOPSIS
      package Foo;
      sub new { bless {}, shift }
      sub bar { 'bar' }
  
      # in your tests
      use Test::More;
      use Test::Double;
  
      my $foo = Foo->new;
      is $foo->bar, 'bar', 'bar() returns "bar"';
  
      # stub out
      stub($foo)->bar('BAR');
      is $foo->bar, 'BAR', 'stubbed bar() returns "BAR"';
more»

/Test-Double-0.01/README.pod

=encoding utf-8

=for stopwords

=head1 NAME

Test::Double - Perl extension for Test Double.

=head1 SYNOPSIS

  package Foo;
  sub new { bless {}, shift }
  sub bar { 'bar' }
  
  # in your tests
  use Test::More;
  use Test::Double;
  
  my $foo = Foo->new;
  is $foo->bar, 'bar', 'bar() returns "bar"';
  
  # stub out
  stub($foo)->bar('BAR');
  is $foo->bar, 'BAR', 'stubbed bar() returns "BAR"'
more»

/Test-Double-0.01/inc/Module/Install/ReadmeFromPod.pm

#line 1
package Module::Install::ReadmeFromPod;

use 5.006;
use strict;
use warnings;
use base qw(Module::Install::Base);
use vars qw($VERSION);

$VERSION = '0.12';

sub readme_from {
  my $self = shift;
  return unless $self->is_admin;

  my $file = shift || $self->_all_from
    or die "Can't determine file to make readme_from";
  my $clean = shift;

  print "Writing README from $file\n";

  requ
more»

/Test-Double-0.01/inc/Module/Install/ReadmePodFromPod.pm

#line 1
package Module::Install::ReadmePodFromPod;
use strict;
use warnings;
use base qw(Module::Ins
more»

/Test-Double-0.01/Changes

Revision history for Perl extension Test::Double

0.01
        - original version

Browse inside Test-Double-0.01.tar.gz

         [DIR]Test-Double-0.01/ (11)

Download Test-Double-0.01.tar.gz

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com