Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

(dws)Re: Optimizing variable passing (code, peer review)

by dws (Chancellor)
on May 11, 2001 at 10:29 UTC ( #79650=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      package EmmisiveColor;
    
      sub new {
    ...
          my $self = shift;
          "emmisiveColor @$self"
      }
    
  2. or download this
      sub simple_properties {
          my $self = shift;
    
    ...
             "  }\n" .
             "}\n";
      }