Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: pairwise() doesn't seem to work...

by Corion (Pope)
on Oct 06, 2010 at 09:19 UTC ( #863740=note: print w/ replies, xml ) Need Help??


in reply to pairwise() doesn't seem to work...

You need to import pairwise from List::MoreUtils. It seems that Perl interprets pairwise { ($a, $b) } as indirect object notation otherwise:

use List::MoreUtils qw( pairwise );


Comment on Re: pairwise() doesn't seem to work...
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2015-04-28 06:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who makes your decisions?







    Results (515 votes), past polls