Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2015-07-28 13:21 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 (254 votes), past polls