Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^5: how ! operator works

by arkturuz (Curate)
on Feb 04, 2011 at 22:23 UTC ( #886314=note: print w/ replies, xml ) Need Help??


in reply to Re^4: how ! operator works
in thread how ! operator works

So I looked at the code to answer your question.

Thanks! I searched the code myself today with no luck. I postoponed it for the weekend but now you have resolved this, I'll just have to stick to something else to do :)


Comment on Re^5: how ! operator works
Replies are listed 'Best First'.
Re^6: how ! operator works
by ikegami (Pope) on Feb 04, 2011 at 23:32 UTC
    My answer is more or less an educated guess. If you want to look around to confirm or for fun, PL_sv_no is the SV returned when a builtin wants to return something false. An interesting puzzle would be to see if you can manage to lower the refcount and display it at the lower refcount using Devel::Peek's Dump.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (17)
As of 2015-07-29 16:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (265 votes), past polls