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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://222488]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-09-13 12:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (19 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.