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

Hamlet

by SmokeyB (Scribe)
on Aug 27, 2004 at 20:52 UTC ( [id://386493]=poem: print w/replies, xml ) Need Help??

if ($toB || !$toB) { print "That is the question."; }

Replies are listed 'Best First'.
Re: Hamlet
by xCodexWarriorx (Acolyte) on Aug 31, 2004 at 04:09 UTC
    I prefer the regex version myself. Heck, you can even get it on a shirt! (Obviously...)
      I love it.
      Gotta get me one of those shirts. =)
      Kzin
Re: Hamlet
by CloneArmyCommander (Friar) on Aug 30, 2004 at 17:14 UTC
    Neat :). But, how about a bitwise or, that way the answer is either to be or not not be. It's pretty cool though. I think it would either be:
    if ($toB | !$toB) { print "That is the question."; }
    or
    if ($toB XOR !$toB) { print "That is the question."; }
Re: Hamlet
by throttle (Beadle) on Oct 31, 2004 at 22:21 UTC
    Well, it's better than good!!! Maybe Shackespeare wrote his poems in perl? How could we know it...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: poem [id://386493]
Approved by TStanley
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2026-04-20 19:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    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.