Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^5: Near-free function currying in Perl

by diotalevi (Canon)
on Mar 21, 2005 at 19:10 UTC ( [id://441272]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://441272]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2024-04-23 19:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found