Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 chilling in the Monastery: (9)
As of 2014-12-23 04:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (135 votes), past polls