Ticket #655: 655.patch
| File 655.patch, 595 bytes (added by patrickas, 4 years ago) |
|---|
-
RenameVariable.pm
136 136 $node->{content} = 137 137 substr( $node->content(), 0, 1 ) . $replacement; 138 138 } 139 if ( $type eq '@' and $node->isa("PPI::Token::ArrayIndex") )139 elsif ( $type eq '@' and $node->isa("PPI::Token::ArrayIndex") ) 140 140 { # $#foo 141 141 return 0 142 142 unless substr( $node->content, 2 ) eq substr( $varname, 1 );
