[ Skip to the content ]

Institute of Formal and Applied Linguistics Wiki


[ Back to the navigation ]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
courses:mapreduce-tutorial:step-4 [2012/01/24 21:28]
straka
courses:mapreduce-tutorial:step-4 [2012/01/24 21:29]
straka
Line 4: Line 4:
  
 <code perl> <code perl>
-... +sub map 
-sub map() { +  my ($self, $key, $value, $context= @_; 
 +  
 +  $context->counter($group, $name, $increment);
 } }
-... 
 </code> </code>
  

[ Back to the navigation ] [ Back to the content ]