in reply to Re^2: Near-free function currying in Perl
in thread Near-free function currying in Perl
You have still neglected to leave the user with the ability to use a different suffix. This suffix is already used by Alzabo::MethodMaker (for row columns) though it is configurable. If I intended to use both Alzabo and AutoCurry, I'd have to do some fancy footwork with the symbol table to rename all the curried functions before other _c functions were installed (or is it the other way, I forget).
Your accomodation may be as simple as providing an overridable package scalar.
BEGIN { $AutoCurry::Suffix = '_not_c'; } use AutoCurry ':all';
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Near-free function currying in Perl
by tmoertel (Chaplain) on Mar 21, 2005 at 19:04 UTC | |
by diotalevi (Canon) on Mar 21, 2005 at 19:10 UTC | |
by tmoertel (Chaplain) on Mar 26, 2005 at 06:38 UTC |