Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: What am I breaking?

by bliako (Monsignor)
on May 09, 2019 at 21:13 UTC ( [id://1233541]=note: print w/replies, xml ) Need Help??


in reply to Re^2: What am I breaking?
in thread What am I breaking? (solved - double unquoting needing 'qw')

question: how does one sprintf() version strings?

Replies are listed 'Best First'.
Re^4: What am I breaking?
by AnomalousMonk (Archbishop) on May 09, 2019 at 22:42 UTC

    See "vector flag" in sprintf:

    c:\@Work\Perl\monks>perl -wMstrict -le "printf qq{perl version is v%vd \n}, $^V; ;; my $v = v1.23.456.7891; printf qq{some version is v%vd \n}, $v; " perl version is v5.8.9 some version is v1.23.456.7891


    Give a man a fish:  <%-{-{-{-<

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1233541]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2024-04-25 05:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found