Skip to content

Commit 74d2344

Browse files
committed
Modernized name of module Benchmark and turned POD in it to Pod6
Specifically I changed the name Benchmark-0.1 to Benchmark:ver<0.1>, which allows it load properly. Also I changed all the POD in the module to Pod6, getting rid of all those C<=cut>s and semanticizing most of it in the process.
1 parent c5b229c commit 74d2344

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

ext/Benchmark/lib/Benchmark.pm

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use v6;
2-
module Benchmark-0.1;
2+
module Benchmark:ver<0.1>;
33

44
sub timeit ($count, $code is copy) is export {
55
$code = eval "sub \{ $code \}" unless $code.isa("Code");
@@ -30,14 +30,13 @@ sub timethese ($count, %hash) is export {
3030
}
3131
}
3232

33-
=pod
34-
35-
=head1 NAME
33+
=begin pod
3634
35+
=begin NAME
3736
Benchmark - Benchmark running time of Perl 6 code
37+
=end NAME
3838
39-
=head1 SYNOPSIS
40-
39+
=begin SYNOPSIS
4140
use v6;
4241
use Benchmark;
4342
@@ -51,24 +50,23 @@ Benchmark - Benchmark running time of Perl 6 code
5150
}
5251
}
5352
});
53+
=end SYNOPSIS
5454
5555
=head1 TODO
5656
5757
many
5858
59-
=cut
60-
61-
=head1 AUTHOR
62-
63-
Chia-liang Kao, E<lt>clkao@clkao.orgE<gt>
64-
65-
=head1 COPYRIGHT
59+
=begin AUTHOR
60+
Chia-liang Kao, L<clkao@clkao.org|mailto:clkao@clkao.org>
61+
=end AUTHOR
6662
63+
=begin COPYRIGHT
6764
Copyright (c) 2005. Chia-liang Kao. All rights reserved.
6865
6966
This program is free software; you can redistribute it and/or modify
7067
it under the same terms as Perl itself.
7168
72-
See http://www.perl.com/perl/misc/Artistic.html
69+
See L<http://www.perl.com/perl/misc/Artistic.html>
70+
=end COPYRIGHT
7371
74-
=cut
72+
=end pod

0 commit comments

Comments
 (0)