Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 lurking in the Monastery: (8)
As of 2024-03-28 09:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found