Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: You've just spilled something on your tie at lunch... Do you:

by shmem (Canon)
on Sep 22, 2007 at 21:47 UTC ( #640553=note: print w/ replies, xml ) Need Help??


in reply to Re: You've just spilled something on your tie at lunch... Do you:
in thread You've just spilled something on your tie at lunch... Do you:

Hmm.. Your sig:

($$<<$$=>$$<=>$$<=$$>>$$) always returns 1. :-)
Seems like you're right
perl -le 'print +($$<<$$=>$$<=>$$<=$$>>$$)' 26088570881

for very large values of 1 :-P

--shmem

_($_=" "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}


Comment on Re^2: You've just spilled something on your tie at lunch... Do you:
Select or Download Code
Replies are listed 'Best First'.
Re^3: You've just spilled something on your tie at lunch... Do you:
by ysth (Canon) on Sep 23, 2007 at 23:04 UTC
    It always returns 1, and sometimes returns other numbers too, depending on how you invoke it.
      I saw the fat comma in that expression, but dinn' think much further...
      perl -le '%h = ($$<<$$=>$$<=>$$<=$$>>$$); print $h{$_} for keys %h' 1

      Thank you.

      --shmem

      _($_=" "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}
Re^3: You've just spilled something on your tie at lunch... Do you:
by wolfger (Deacon) on Sep 28, 2007 at 19:00 UTC

    He didn't say it only returned a *single* 1, did he? ;-)
    It returns a whole lot of 1's, bundled together for your convenience.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://640553]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2015-07-29 10:30 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 (263 votes), past polls