in reply to mapcar -- map for more than one list
Some coding style questions:
- Why do you use if (! ...) and not unless (...)?
- Why do you use require and not use?
- Why didn't you extract out the common parts of mapcar() and mapcaru() and call some other function? Was it speed issues? (This would indicate we need a #define in Perl...)
------
We are the carpenters and bricklayers of the Information Age.
Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.
|
---|
Replies are listed 'Best First'. | |
---|---|
(tye)Re3: mapcar -- map for more than one list
by tye (Sage) on Jan 21, 2002 at 22:51 UTC | |
by tilly (Archbishop) on Jan 22, 2002 at 01:28 UTC | |
by tye (Sage) on Jan 22, 2002 at 02:37 UTC | |
by tilly (Archbishop) on Jan 22, 2002 at 04:22 UTC |
In Section
Cool Uses for Perl