Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Is there an andand for Perl like there is in Ruby?

by systems (Pilgrim)
on Jan 08, 2009 at 14:26 UTC ( #734900=note: print w/ replies, xml ) Need Help??


in reply to Is there an andand for Perl like there is in Ruby?

you can obviously do this

say if ($_ = $shop-> ShopperDueDate-> day_name());
since the assignement operator in perl returns the assigned value


Comment on Re: Is there an andand for Perl like there is in Ruby?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2014-10-26 05:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (151 votes), past polls