Changeset 18691 for examples

Show
Ignore:
Timestamp:
10/26/07 18:25:49 (15 months ago)
Author:
bbkr
Message:

renamed uniq "operator" to "method"

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • examples/games/card_war_game.pl

    r18690 r18691  
    2020=item conditional '??/!!' operator 
    2121 
    22 =item Array.uniq operator 
     22=item Array.uniq method 
    2323 
    2424=item definition of own operators 
     
    189189# player that won the round gets both stacks to his hand 
    190190sub collect_cards(HashRef $winner) { 
    191     # PERL6 uniq operator is used to get array 
     191    # PERL6 uniq method is used to get array 
    192192    # containing winner and the other player 
    193193    for @($winner, $player1, $player2).uniq -> $player {