my $pos = pos( $variable ) - 1;