Change 13321 by jhi@alpha on 2001/11/27 15:16:28
Subject: [PATCH Benchmark.pm] add export tag :all and tweak SYNOPSIS
From: Barrie Slaymaker <[EMAIL PROTECTED]>
Date: Tue, 27 Nov 2001 10:58:54 -0500
Message-ID: <[EMAIL PROTECTED]>
Affected files ...
.... //depot/perl/lib/Benchmark.pm#27 edit
Differences ...
==== //depot/perl/lib/Benchmark.pm#27 (text) ====
Index: perl/lib/Benchmark.pm
--- perl/lib/Benchmark.pm.~1~ Tue Nov 27 08:30:05 2001
+++ perl/lib/Benchmark.pm Tue Nov 27 08:30:05 2001
@@ -6,6 +6,8 @@
=head1 SYNOPSIS
+ use Benchmark qw(:all) ;
+
timethis ($count, "code");
# Use Perl code in strings...
@@ -402,8 +404,9 @@
@EXPORT=qw(timeit timethis timethese timediff timestr);
@EXPORT_OK=qw(timesum cmpthese countit
clearcache clearallcache disablecache enablecache);
+%EXPORT_TAGS=( all => [ @EXPORT, @EXPORT_OK ] ) ;
-$VERSION = 1.02;
+$VERSION = 1.03;
&init;
End of Patch.