Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 avoiding work at the Monastery: (8)
As of 2015-07-30 11:39 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 (271 votes), past polls