Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: work around for static vars and singleton constructors not inheriting properly?

by thcsoft (Monk)
on May 27, 2005 at 01:29 UTC ( #460921=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package MyClass;
    use strict;
    ...
       my $self = {};
       bless $self, $class;
    }
    
  2. or download this
    #!/usr/bin/perl -w
    
    ...
    
    my ($d1, $d2) = (MyClass->new, MyClass->new);
    ...
    
  3. or download this
    perldoc perlbot
    perldoc perltoot
    perldoc -f bless
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://460921]
help
Chatterbox?
[stevieb]: glad I have an exceptionally high-quality test regimen for the Pi with...
[stevieb]: ...a diagram of how to set it up. Allows me to not only test my software, but the hardware, side-by-side.

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2018-01-16 22:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (192 votes). Check out past polls.

    Notices?