Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Zen And The Art Of Perl Poetry

by chanio (Priest)
on Apr 11, 2007 at 05:51 UTC ( #609301=note: print w/ replies, xml ) Need Help??


in reply to Zen And The Art Of Perl Poetry

Nice!

perl -e"print('Do I understand? (yes/no): ');my $understand=<>;my $do_ +not; $do_not='do not ' if ($understand!~/^yes/i); print($/,'If you ', +$do_not,'understand, things are such as they are.',$/)"
Do I understand? (yes/no): may be

If you do not understand, things are such as they are.


Comment on Re: Zen And The Art Of Perl Poetry
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2014-08-23 07:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (172 votes), past polls