PerlX-Perform reviews

cpanratings
 

RSS | Module Info | Add a review of PerlX-Perform

PerlX-Perform (0.005) *

If this kind of trivial silliness belongs on CPAN at all, it should be in Acme::.

seano - 2012-03-15T06:35:41 (permalink)

9 out of 12 found this review helpful. Was this review helpful to you?  Yes No

PerlX-Perform (0.004)

I personally don't see much value of this syntactic sugar since Perl already allows us to express clearly. Pick one:

for ($foo) { say $_ if defined }

for (grep {defined} $foo) { say $_ }

do { say $_ if defined } for $foo

say $_ for grep {defined} $foo

And save yourself from having to remember whether we should add a comma or not before "wherever".

Steven Haryanto - 2012-03-05T06:16:12 (permalink)

1 out of 2 found this review helpful. Was this review helpful to you?  Yes No