Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Meaning of //

by huck (Parson)
on Oct 17, 2019 at 17:10 UTC ( #11107613=note: print w/replies, xml ) Need Help??


in reply to Meaning of //

EXPR1 // EXPR2 returns the value of EXPR1 if it's defined, otherwise, the value of EXPR2 is returned.

https://perldoc.perl.org/perlop.html#Logical-Defined-Or

Replies are listed 'Best First'.
Re^2: Meaning of //
by hanspr (Acolyte) on Oct 17, 2019 at 17:14 UTC
    Thanks a lot

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2019-12-13 10:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?