Subject: | temporary variables declared after they're used |
Date: | Tue, 11 May 2010 14:37:20 -0400 |
To: | bug-App-EditorTools [...] rt.cpan.org |
From: | Ram Dobson <ram.dobson [...] nih.gov> |
I have 0.12 installed, and when i create a temporary variable in vim
by highlighting the second( or third, fourth -- i imagine... ) it does
the following
$x = (1+2*3) ** 2;
$y = (1+2*3) * 50; # <-- select (1+2*3) on this line
i get this
$x = $temp ** 2;
my $temp = (1+2*3);
$y = $temp * 50;
which will not work.
the temporary variable needs to be placed before the FIRST occurence,
not the current one.