Help for this page

Select Code to Download


  1. or download this
    print $obj->thing;
    
  2. or download this
    $obj->thing = 'someting';
    
  3. or download this
    $obj->thing =~ s[this][that]g;
    
  4. or download this
    my @subthings = $obj->thing =~ m[subthing]g;
    
  5. or download this
    my $count = $obj->thing =~ m[subthing]g;
    
  6. or download this
    while( $obj->thing =~ m[subthing]g ) {
        last if substr( $obj->thing, pos( $obj->thing ) - 22, 22 ) 
             eq 'This is *the* subthing';
    }
    
  7. or download this
    $obj->thing++;
    
  8. or download this
    ++$obj->thing;