On Thu, Mar 19, 2015 at 9:32 PM, Tom Browder <[email protected]> wrote:

>     if (self.$elem) { # <======= LINE 995 =============== LINE 995
>

This is an indirect method call. Is that really what you intended?

If you wanted the `my` variable, it's just `$elem`.

If you somehow have an object in scope there (I don't see one offhand) and
want a `has` variable from it named `$elem`, then you would normally use an
accessor `self.elem`. Since this isn't a method, it can't (or at least
shouldn't) access the `has` variable directly.

-- 
brandon s allbery kf8nh                               sine nomine associates
[email protected]                                  [email protected]
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

Reply via email to