Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 scrutinizing the Monastery: (5)
As of 2016-05-28 12:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?