Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 lurking in the Monastery: (9)
As of 2015-07-30 07:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (270 votes), past polls