in reply to Looping through an array of hashrefs

Generally, please show dumped sample data before and after the run to make life easier for us!

If that's an AoH, then $prop must be a hashref, do you really need to call is_supported($prop) then?

This logic looks dubious, give us more insight please.

Cheers Rolf

(addicted to the Perl Programming Language and ☆☆☆☆ :)

update

choroba is of course right about the syntax errors!

...another wasted post for someone too lazy to post compilable code... :-/