Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

What I Most Recently Learned in Perl, But Should Have Already Known

by liverpole (Monsignor)
on Aug 16, 2006 at 22:43 UTC ( #567774=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
        0xN .... interpret N as hexadecimal
        0bN .... interpret N as binary
          N .... interpret N as octal
  2. or download this
        The following will handle decimal, binary, octal, and hex
        in the standard Perl or C notation:
            $val = oct($val) if $val =~ /^0/;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://567774]
Approved by GrandFather
Front-paged by apotheon
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2015-11-26 16:01 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (701 votes), past polls