Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: More Fun with Zero!

by lindex (Friar)
on Jul 24, 2001 at 07:39 UTC ( [id://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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-03-28 16:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found