balachandran has asked for the wisdom of the Perl Monks concerning the following question:
PS: Updated the code.sub validate_properties { my $properties = shift; for my $prop (@{$properties}) { if (is_supported($prop)) { $prop->{supported} = 1; } else { $prop->{supported} = 0; } return $properties; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Looping through an array of hashrefs
by choroba (Cardinal) on Sep 24, 2014 at 13:21 UTC | |
by misterperl (Friar) on Sep 24, 2014 at 14:41 UTC | |
by SuicideJunkie (Vicar) on Sep 24, 2014 at 15:35 UTC | |
by misterperl (Friar) on Sep 24, 2014 at 16:04 UTC | |
|
Re: Looping through an array of hashrefs
by LanX (Saint) on Sep 24, 2014 at 13:25 UTC | |
|
Re: Looping through an array of hashrefs
by SuicideJunkie (Vicar) on Sep 24, 2014 at 15:43 UTC |