Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Currying--useful examples?

by chargrill (Parson)
on Jan 10, 2007 at 19:38 UTC ( #593994=note: print w/replies, xml ) Need Help??


in reply to Currying--useful examples?

This node as well as some of the replies might have some more useful examples/applications.

Also, there's a fairly useful module on CPAN that makes use of what at first glance I thought was currying - check out File::Next by our very own petdance.

Updated: added bold text. I was just so excited by hearing about petdance's module.



--chargrill
s**lil*; $*=join'',sort split q**; s;.*;grr; &&s+(.(.)).+$2$1+; $; = qq-$_-;s,.*,ahc,;$,.=chop for split q,,,reverse;print for($,,$;,$*,$/)

Replies are listed 'Best First'.
Re^2: Currying--useful examples?
by petdance (Parson) on Jan 11, 2007 at 01:05 UTC
Re^2: Currying--useful examples?
by petdance (Parson) on Jan 11, 2007 at 16:22 UTC
    By the way, what does "our very own petdance" mean? "Our" seems to imply membership in a group. I'm concerned what group that would be. :-)

    xoxo,
    Andy

      I suppose it's possible (even likely?) for there to be clever modules on CPAN by authors who don't frequent PerlMonks, so the group I'm including you in is "those who frequent PerlMonks". :-)

      I could also possibly be grouping you into Chicago Perl Mongers, but as the audience reading PerlMonks is far greater larger than the Chicago Perl Mongers group, that wouldn't be very clear from the context of the post.

      :-)

      Updated: True, we have some excellent folk in Chicago Perl Mongers and I wouldn't want them to feel slighted by my careless choice of words. ;)



      --chargrill
      s**lil*; $*=join'',sort split q**; s;.*;grr; &&s+(.(.)).+$2$1+; $; = qq-$_-;s,.*,ahc,;$,.=chop for split q,,,reverse;print for($,,$;,$*,$/)
        the audience reading PerlMonks is far greater than the Chicago Perl Mongers group

        Well, let's say it's "larger" not "greater". :-)

        xoxo,
        Andy

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2019-09-19 04:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The room is dark, and your next move is ...












    Results (238 votes). Check out past polls.

    Notices?