Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Using (s)printf() .......what is "%vd"

by Anonymous Monk
on Dec 27, 2002 at 06:39 UTC ( #222488=note: print w/ replies, xml ) Need Help??


in reply to Using (s)printf()

If found an interesting solution to a problem of ANDing 2 IPs
$anded = sprintf "%vd\n", 192.16.16.1 & 255.255.248.0;
How is %vd interpreted here
Ramprasad A Padmanabhan


Comment on Re: Using (s)printf() .......what is "%vd"

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (14)
As of 2014-10-01 19:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (37 votes), past polls