Help for this page

Select Code to Download


  1. or download this
    $complex1->set( $complex1->add( $complex2->get() );
    
  2. or download this
    $file->position = 0 if $file->eof;
    
  3. or download this
    $file->set_position( 0 ) if $file->eof();
    
  4. or download this
    $thingy->set_date_from_string("..."); 
    $thingy->set_date_from_array( localtime ); 
    $thingy->set_date_from_array_ref( [localtime] );
    
  5. or download this
    package MyClass;
    
    ...
        my $self = bless {}, $class;
        return $instances{ $self } = [$attr1, $attr2, $attr3];
    }
    
  6. or download this
    package MyClass;
    
    ...
        $attr3{ $self } = $attr3;
        return $self;
    }