in reply to Tidying up some dereferencing code

The syntax in Perl is simple. Where ever you have @name you may replace name with a block whose result is a reference of the appropriate type.

So, in your case: @{$self -> {_words}}.

@$myarray is just a short hand notation for @{$myarray}.

Abigail