From: Gurusamy Sarathy Date: Mon, 7 Feb 2000 18:25:31 +0000 (+0000) Subject: add note about printf("%v",...) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ac1fa8375ae1ea15a93ee4e83db6da329c197cd4;p=p5sagit%2Fp5-mst-13.2.git add note about printf("%v",...) p4raw-id: //depot/perl@5032 --- diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 52f148c..33ab171 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -477,6 +477,11 @@ C and C 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 and C 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.