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