- or download this
use strict;
use warnings;
...
fn { [ reverse(@{$_[0]}) ] } |
fn { join('-', @{$_[0]}) } |
fn { $_[0] . "\n" };
- or download this
package Pipes;
use strict;
...
}
1;
- or download this
perl -e 'print sub { "Hello @{[shift->()]}!\n" }->(sub{"World"})'