Request to register new user fullname: Nathan Loyer userid: NLOYER mail: CENSORED homepage: why:
I'm working on a module that will let perl devs string together calls to map, grep, sort, join, reverse, and functions in List::Utils and List::MoreUtils, in a syntax that emulates Java's stream classes. I frequently combine map and grep, but with the perl syntax it either gets hard to read or there are a lot of interim variables declared. Simplified examples: ex1: my @newarray = map { $_->{foo} } grep { $_->foo } @array; ex2: my @filtered = grep { $_->foo } @array; my @newarray = map { $_->{foo} } @filtered; Stream version: my @newarry = new Stream(@array) ->grep(sub { $_->{foo} }) ->map(sub { $_->{foo} }); With this simple example, the default perl is fine, but when these map/grep codeblocks become more sophisticated this can get quite messy, which is where this module can help. The following links are only valid for PAUSE maintainers: Registration form with editing capabilities: https://pause.perl.org/pause/authenquery?ACTION=add_user&USERID=bb110000_536768a60bbf25dd&SUBMIT_pause99_add_user_sub=1 Immediate (one click) registration: https://pause.perl.org/pause/authenquery?ACTION=add_user&USERID=bb110000_536768a60bbf25dd&SUBMIT_pause99_add_user_Definitely=1