NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
gcc nested functions (Score:1)
added to the C99 standard....
A fun ML thing is partially applied functions: If foo takes two
args, a and b, then (foo a) is the same as (fun b -> foo a b).
Of course, to do this you need static typing.
Choices (Score:2)
--
xoa
Re:Choices (Score:2)
It would be much better to use the
Text::Abbrevmodule (it's part of the core). It'll create unique abbreviations. Of course the code would be a little more convoluted:(or something like that - completely untested and of my hat)
Re:Choices (Score:2)
Or, rather than filling the hash with small keys, make a smarter dispatcher:
Mmm, $cmd, @cmd and %cmd used in 3 lines... That's one point in the Perl purity test. :-)