Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: More Fun with Zero!

by lindex (Friar)
on Jul 24, 2001 at 07:39 UTC ( #99227=note: print w/ replies, xml ) Need Help??


in reply to More Fun with Zero!

As far as the syntax for eval(EXPR); I too like to make anything that can be one line accually one line so I often use the evalution order of if and do like:

#!/usr/bin/perl use strict; use warnings; print qq(Hey no error !\n) if(eval(q(1;))&&!$@);

Brought to you by that crazy but lovable guy... lindex


Comment on Re: More Fun with Zero!
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2015-07-04 03:38 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 (57 votes), past polls