Viewing profile — flatwhatson
flatwhatson
HN member- Joined
- Sun, Apr 24, 2011, 2:51 PM UTC
- HN karma
- 6
- Public activity
- 4 items
- HN profile
- View on Hacker News ↗
About flatwhatson
push @{$hackers{perl}}, \&flatwhatson;
Recent public activity
-
comment
Comment #2969250
In all my years of using and loving (and abusing) the shell, I've never encountered apropos. I'm really amazed that something so fundamental has somehow been left out of the many u…
-
comment
Comment #2488486
I probably should have replied to rtomayko's comment rather than your own. I'd edit the tree, but it's immutable!
-
comment
Comment #2488199
Blocks are also available in Perl, in the form of anonymous subroutines. They follow Perlish conventions for argument handling (rather than having a neat inline syntax like Smallta…
-
comment
Comment #2479029
Here's one more efficient way... use perl! #!/usr/bin/perl use Modern::Perl; use List::Util 'reduce'; sub cook { my ($i1, $i2, $f) = @_; say "get the $i1"; $f->($i1); $f->($i2); } …