in reply to Re^4: Near-free function currying in Perl
in thread Near-free function currying in Perl
Ok, here's the BEGIN approach changed so it *does* work for you. I'm just creating a use() which has the value set for its duration. Any later calls to use() or ->import() won't reflect the suffix I set here.
BEGIN { local $AutoCurry::suffix = ...; require AutoCurry; AutoCurry->import(); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Near-free function currying in Perl
by tmoertel (Chaplain) on Mar 26, 2005 at 06:38 UTC |