Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^4: The value of declarations

by TGI (Parson)
on Apr 08, 2009 at 22:00 UTC ( [id://756475]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    __PACKAGE__->no_monkey_business;  # no new methods/method signatures c
    +an happen now. 
    
    ...
    
    use static_methods qw( MyClass );  #compile this class with only expli
    +citly declared methods allowed.
    
  2. or download this
    # in main:
    no static_methods MyClass;  # uses MyClass with static_methods turned 
    +off.
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2024-12-07 03:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which IDE have you been most impressed by?













    Results (49 votes). Check out past polls.