Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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 imbibing at the Monastery: (5)
As of 2016-10-20 22:42 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (283 votes). Check out past polls.