Help for this page

Select Code to Download


  1. or download this
    BEGIN {
       package class_vars;
    ...
    
       printf "one=%d two=%d, three=%d\n", $p->one, $p->two, $p->three;
    }
    
  2. or download this
    one=1 two=2, three=3
    
  3. or download this
    BEGIN {
       ...
       $INC{'class_vars.pm'} = __FILE__;
    }