[Israel.pm] OT: how can you limit your search to a block in vi or emacs?

Gabor Szabo szabgab at gmail.com
Sun Sep 7 10:34:04 PDT 2008


I often need to find (and maybe rename) all the ocurances of a variable.

The problem is
1) if the same name is used in multiple places then my search keeps
     going to the other places as well an does not stay within the scope.

2) how can I easily locate both @x and $x[2]  but not $x nor $x{name}?

Gabor



More information about the Perl mailing list