Help for this page

Select Code to Download


  1. or download this
    sub new {
        my $type = shift; # Call as: World->new ();
        my $class = ref $type || $type;
        
        return Hello::new ($class);
    }
    
  2. or download this
    # Now call up to get base class work done
    return $self->Hello::hi (' World' . $tail);
    
  3. or download this
    use SUPER;
    
    # ...
    
        return $self->SUPER( ' World' . $tail );