Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> perl >> liblist-rotation-cycle-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: liblist-rotation-cycle-perl  ]

套件: liblist-rotation-cycle-perl (1.009-1)

module that cycles through a list of values

Use List::Rotation::Cycle to loop through a list of values. Once you get to the end of the list, you go back to the beginning.

List::Rotation::Cycle is implemented as a Singleton Pattern. You always just get 1 (the very same) Cycle object even if you use the new method several times. This is done by using Memoize on the new method. It returns the same object for every use of new that comes with the same List of parameters.

其他與 liblist-rotation-cycle-perl 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下載 liblist-rotation-cycle-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 5.3 kB50 kB [文件列表]