Help for this page

Select Code to Download


  1. or download this
    package myclass;
    use Carp qw(croak);
    ...
    
        return bless $class->SUPER::new(23), $class;
    }
    
  2. or download this
    package myclass;
    use Class::Std;
    ...
        my ($self, $ident, $args) = @_;
        $args->{value} = 23;
    }
    
  3. or download this
    mysubclass->new;
    
  4. or download this
    Missing initializer label for myclass: 'value'.
    Fatal error in constructor call