07 Sep 2004 21:45:34 UTC
- Distribution: Class-MakeMethods
- Module version: 1.008
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (5)
- Testers (5047 / 286 / 0)
- KwaliteeBus factor: 0
- 69.84% Coverage
- License: unknown
- Activity24 month
- Download (158.37KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionEVO Matthew Simon Cavalletto
Class::MakeMethods::Template::Static - Deprecated name for Global
package MyObject; use Class::MakeMethods::Template::Global ( scalar => [ 'foo' ] ); package main; MyObject->foo('bar') print MyObject->foo(); ... print $my_instance->foo(); # same thing
Earlier versions of this package included a package named Class::MakeMethods::Template::Static.
However, in hindsight, this name was poorly chosen, as it suggests a constant, unchanging value, whereas the actual functionality is akin to traditional "global" variables.
This functionality is now provided by Class::MakeMethods::Template::Global, of which this is an empty subclass retained to provide backwards compatibility.
Module Install Instructions
To install Class::MakeMethods, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Class::MakeMethods
For more information on module installation, please visit the detailed CPAN module installation guide.