Sha256: b47ffcea9fc2044ffee531d17e11d3c853e3c3e8fcf4e05123c5b25675820d49
Contents?: true
Size: 264 Bytes
Versions: 323
Compression:
Stored size: 264 Bytes
Contents
package Example; use strict; use warnings; sub accumulate { my ($list, $function) = @_; my @accumulated = qw(); foreach my $element ( @$list ) { push @accumulated => $function->($element); } return \@accumulated; } __PACKAGE__;
Version data entries
323 entries across 323 versions & 1 rubygems