>=head2 Private methods
>The C<private> keyword could also be applied to subroutines, to restrict
>where they may be called. Access rules similar to those for private hash
>entries would apply:
> package Base;
>
> sub new { ... }
>
> private sub check { ... }
>
How is this different/better/worse from "my sub"?
--tom
- RFC 188 (v1) Objects : Private keys and methods Perl6 RFC Librarian
- Re: RFC 188 (v1) Objects : Private keys and metho... Tom Christiansen
- Re: RFC 188 (v1) Objects : Private keys and metho... Tom Christiansen
- Re: RFC 188 (v1) Objects : Private keys and metho... John Siracusa
- Re: RFC 188 (v1) Objects : Private keys and m... Piers Cawley
- Re: RFC 188 (v1) Objects : Private keys and metho... Kenneth Lee
- Re: RFC 188 (v1) Objects : Private keys and metho... Kenneth Lee
- Re: RFC 188 (v1) Objects : Private keys and m... Kenneth Lee
- Re: RFC 188 (v1) Objects : Private keys and metho... Damian Conway
- Re: RFC 188 (v1) Objects : Private keys and metho... David E. Wheeler
- Re: RFC 188 (v1) Objects : Private keys and m... Piers Cawley
- Re: RFC 188 (v1) Objects : Private keys and metho... Nathan Wiger
