Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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

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 about the Monastery: (6)
As of 2016-09-27 23:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (516 votes). Check out past polls.