>=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

Reply via email to