Ticket #278 (closed defect: fixed)
Variable magic (lexical replace, declaration finding, etc) doesn't work well for arrays, hashes, array and hash accesses, and slices thereof
| Reported by: | tsee | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | editor | Version: | 0.29 |
| Keywords: | Cc: |
Description
Summary says it all:
Variable magic (lexical replace, declaration finding, etc) doesn't work well for arrays, hashes, array and hash accesses, and slices thereof
This is partly a PPI thing, so it should (maybe) be fixed upstream. $foo[0] becomes a PPI variable token (the $foo part, really!), but the canonical name is considered to be $foo, not @foo!
Change History
Note: See
TracTickets for help on using
tickets.

I'm quite satisfied to say that this should be working fine now in trunk!
Hashes are somewhat undertested, but they're mostly a slight variation on the code necessary for handling arrays.