Re: Can a user "cheat" and call a class's private method?

2015-05-11 Thread Darren Duncan
See Moritz Lenz' response to this thread on March 26. To summarize, you can use "trusts". Also having to do this may indicate bad code design. -- Darren Duncan On 2015-05-11 2:13 PM, R. Ransbottom wrote: I need to test some private routines, so is there a way to do that? Is there a downsi

Re: Can a user "cheat" and call a class's private method?

2015-05-11 Thread R. Ransbottom
> I need to test some private routines, so is there a way to do that? Is there a downsize to augment for this? # source class Dog { method bark { say( "#bark"); return "bark" } method !pee { say( "#pee" ); return "pee"} } # test #use MONKEY_TYPING; use Test; use v6; plan 4; my Dog

[perl6/specs] 221b27: typos and whitespace fixes

2015-05-11 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: 221b27df6c37f7154e51a062faa3a9b93218d11f https://github.com/perl6/specs/commit/221b27df6c37f7154e51a062faa3a9b93218d11f Author: Steve Mynott Date: 2015-05-09 (Sat, 09 May 2015) Changed paths: M S99-g

[perl6/specs] 64ea7b: Update IO.pod

2015-05-11 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: 64ea7b7aa4f7faeba2abb7e40156211108114997 https://github.com/perl6/specs/commit/64ea7b7aa4f7faeba2abb7e40156211108114997 Author: Nick Logan Date: 2015-05-10 (Sun, 10 May 2015) Changed paths: M S32-set

[perl #125154] Calling $object.can from within PRE causes STORE to Nil error under some circumstances

2015-05-11 Thread via RT
# New Ticket Created by Rob Hoelz # Please include the string: [perl #125154] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125154 > Two example files that trigger the problem are attached. pre-nil-2.p6 Description: Binary d

Re: [perl #125153] Pod nesting needs some clarity

2015-05-11 Thread Moritz Lenz
On 05/11/2015 02:47 PM, (via RT) wrote: # New Ticket Created by # Please include the string: [perl #125153] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125153 > It's not clear which =begin is not terminated here, based on

[perl #125153] Pod nesting needs some clarity

2015-05-11 Thread via RT
# New Ticket Created by # Please include the string: [perl #125153] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125153 > It's not clear which =begin is not terminated here, based on the error. Maybe '=begin at line 1 not