Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> perl >> libdata-record-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: libdata-record-perl  ]

套件: libdata-record-perl (0.02-4)

"split" on steroids

Sometimes we need data split into records and a simple split on the input record separator (C<$/>) or some other value fails because the values we're splitting on may allowed in other parts of the data. Perhaps they're quoted. Perhaps they're embedded in other data which should not be split up.

Data::Record allows you to specify what you wish to split the data on, but also speficy an "unless" regular expression. If the text in question matches the "unless" regex, it will not be split there. This allows us to do things like split on newlines unless newlines are embedded in quotes.

其他與 libdata-record-perl 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: libsub-uplevel-perl
    module to spoof the Perl call stack
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下載 libdata-record-perl

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