Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 rifling through the Monastery: (11)
As of 2014-09-17 09:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (70 votes), past polls