Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Private Class Methods

by pdcawley (Hermit)
on Apr 06, 2002 at 18:55 UTC ( #157174=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    class Foo {
      my method bar {...}
    }
    
  2. or download this
    sub bar {
      croak "Oi! You're not a foo!" unless $_[0]->isa(__PACKAGE__);
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2022-10-01 14:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (126 votes). Check out past polls.

    Notices?