Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: The mystery of double bitwise negation

by ikegami (Patriarch)
on Jul 13, 2015 at 17:04 UTC ( #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? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2022-05-22 23:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (81 votes). Check out past polls.

    Notices?