projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69883f8
)
add note about printf("%v",...)
author
Gurusamy Sarathy
<gsar@cpan.org>
Mon, 7 Feb 2000 18:25:31 +0000
(18:25 +0000)
committer
Gurusamy Sarathy
<gsar@cpan.org>
Mon, 7 Feb 2000 18:25:31 +0000
(18:25 +0000)
p4raw-id: //depot/perl@5032
pod/perldelta.pod
patch
|
blob
|
history
diff --git
a/pod/perldelta.pod
b/pod/perldelta.pod
index
52f148c
..
33ab171
100644
(file)
--- a/
pod/perldelta.pod
+++ b/
pod/perldelta.pod
@@
-477,6
+477,11
@@
C<require> and C<use> also support such literals:
require v5.6.0; # croak if $^V lt v5.6.0
use v5.6.0; # same, but croaks at compile-time
+C<sprintf> and C<printf> support the Perl-specific format type C<%v>
+to print arbitrary strings as dotted tuples.
+
+ printf "v%v", $^V; # prints current version, such as "v5.5.650"
+
=head2 Weak references
WARNING: This is an experimental feature.