|No such thing as a small change|
Re: Useless use of reference constructor in void contextby NetWallah (Abbot)
|on Jul 29, 2012 at 14:33 UTC||Need Help??|
Please use "code" tags to preserve code formatting.
In this snippet:
The "sub" returns a code-reference
Since the subref does not de-reference to something that allows a method call, perl complains.
Update 1: Sorry - this is rubbish. I just noticed the "), which means you are calling "pack" on whatever is returned by "$dirtree_frame->Scrolled".
Update 2: New theory :
$dirtree_frame is not created properly.
I hope life isn't a big joke, because I don't get it.