Show
Ignore:
Timestamp:
11/05/08 02:35:01 (5 years ago)
Author:
hanekomu
Message:

export benchmark_diag() by default now

Location:
lang/perl/App-Benchmark/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/App-Benchmark/trunk/Changes

    r22608 r22727  
    330.02  Sun Nov  2 23:55:40 CET 2008 (Marcel Gruenauer <marcel@cpan.org>) 
    44     - documented that rjbs came up with the idea 
     5     - export benchmark_diag() by default now 
    56 
    670.01  Sun Nov  2 21:31:53 CET 2008 (Marcel Gruenauer <marcel@cpan.org>) 
  • lang/perl/App-Benchmark/trunk/lib/App/Benchmark.pm

    r22608 r22727  
    1414 
    1515 
    16 our %EXPORT_TAGS = ( 
    17     util => [ qw/benchmark_diag/ ], 
    18 ); 
    19  
    20 our @EXPORT_OK = @{ $EXPORT_TAGS{all} = [ map { @$_ } values %EXPORT_TAGS ] }; 
     16our @EXPORT = ('benchmark_diag'); 
    2117 
    2218 
     
    5854    # This is t/benchmark.t: 
    5955 
    60     use App::Benchmark ':all'; 
     56    use App::Benchmark; 
    6157 
    6258    benchmark_diag(2_000_000, { 
     
    7470Ricardo Signes came up with the idea. 
    7571 
    76 =head1 EXPORTS 
    77  
    78 Nothing is exported automatically. The function can be exported using its name 
    79 or the C<:all> tag. 
     72=head1 FUNCTIONS 
    8073 
    8174=over 4 
     
    8780them, each line prefixed by a hash sign so it doesn't mess up the TAP output. 
    8881Also, a pseudotest is being generated to keep the testing framework happy. 
     82 
     83This function is exported automatically. 
    8984 
    9085=back