Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^4: Confused as to why the "casting context" is mis-behaving (docs)

by moritz (Cardinal)
on Oct 22, 2010 at 16:24 UTC ( #866829=note: print w/replies, xml ) Need Help??


in reply to Re^3: Confused as to why the "casting context" is mis-behaving (docs)
in thread Confused as to why the "casting context" is mis-behaving

Patch is wrong.

Right.

$u is assigned '2'

No, 'B'. Which is why it's clearer to change the comment, not the data.

Perl 6 - links to (nearly) everything that is Perl 6.
  • Comment on Re^4: Confused as to why the "casting context" is mis-behaving (docs)

Replies are listed 'Best First'.
Re^5: Confused as to why the "casting context" is mis-behaving (docs)
by ikegami (Pope) on Oct 22, 2010 at 17:20 UTC
    'second' is the value returned in one case and not in the other. The lack of symmetry adds confusion.
      You're welcome to propose and submit a better patch which doesn't confuse you.

      I don't think of myself as a good technical writer, when I see a discussion about an undocumented feature, I try to come up with a patch. Feel free to improve it!

      Perl 6 - links to (nearly) everything that is Perl 6.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://866829]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2018-06-19 15:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (114 votes). Check out past polls.

    Notices?