Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: The mystery of double bitwise negation

by ikegami (Patriarch)
on Jul 13, 2015 at 17:04 UTC ( [id://1134546]=note: print w/replies, xml ) Need Help??


in reply to The mystery of double bitwise negation

For integers, it's no-op that evaluates its operand in scalar context. So,
set_in_declare(~~@{$temp_name||[]});
is being used in place of
set_in_declare(scalar(@{$temp_name||[]}));

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-16 17:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found