Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 exploiting the Monastery: (4)
As of 2014-09-15 04:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (145 votes), past polls