Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Adding 2 + 2

by jdporter (Paladin)
on Jan 30, 2007 at 12:59 UTC ( [id://597417]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: Adding 2 + 2
in thread Adding 2 + 2

It often strikes me as a little strange (or unfortunate) to use array ref/deref for this. The scalar version is only one character longer:

print "the answer is ${\(2+2)}\n";
A word spoken in Mind will reach its own level, in the objective world, by its own weight

Replies are listed 'Best First'.
Re^3: Adding 2 + 2
by shmem (Chancellor) on Jan 31, 2007 at 05:24 UTC
    The scalar version is only one character longer
    golfer habits...

    --shmem
    But I might be parling heck.

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://597417]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.