Help for this page

Select Code to Download


  1. or download this
    my $obj = Module->new(log => $obj, arg1 => $arg1);
    
  2. or download this
    my $obj = Module->new($log, $arg1, $arg2);
    
  3. or download this
    my $obj = Module->new($log, %args);
    
  4. or download this
    sub new {
        my $self = shift;
    ...
        
        # do stuff
    }
    
  5. or download this
    sub new {
        my $self = bless {}, shift;
    ...
    sub _log {
        return shift->{log};
    }