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

Re^3: Confused by a couple of idioms

by Athanasius (Archbishop)
on Feb 22, 2019 at 02:40 UTC ( [id://1230350]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Confused by a couple of idioms
in thread Confused by a couple of idioms

I think the lowercase "and" basically makes it act more like this: $csv and ($xls = $csv)

Correct. Deparsing makes it even clearer:

12:28 >perl -MO=Deparse -e "$csv and $xls = $csv;" $xls = $csv if $csv; -e syntax OK 12:29 >

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Replies are listed 'Best First'.
Re^4: Confused by a couple of idioms
by nysus (Parson) on Feb 22, 2019 at 12:39 UTC

    Damn, that's crazy. Never knew about that.

    $PM = "Perl Monk's";
    $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest Vicar";
    $nysus = $PM . ' ' . $MCF;
    Click here if you love Perl Monks

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2024-04-19 15:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found