Sorry, I changed the code but forget to change the comment. My requirement is to group some fields & count how many events occurred.

 Tue Oct 13 00:20:01 2015|189333794|32665|959799899574|Tue Oct 13 00:19:57 2015|Tue Oct 13 00:20:01 2015|CMT|Delivered|none|Submit|0|SMSC_no_error|SMPP|GSM|ASCII|105|92|no||no|no||None|No|DestPrepaid|no|no|0|0|0|0|414061102110510||959790000004|0|0||0|no|no|default_billing|-1|0|no|no|0|0|0|0|1|1|1|1|959790000024|32665|smsgw|78655|Wed Oct 14 00:19:57 2015|SR|||CO|011816714446721970009||Default|0|370870121||0|0||0|||||||||Oct-13-2015  00:19:57.405709|1|1||||||||||0|

This is example of my input data. In this I want to group 10th (Submit), 13th (GSM), 14th (SMPP) fields & count how many events occurred. In the example the 13th field is SMPP. So don't count this event. Whenever all I fields met the condition then I want to consider it as a event. This is my total requirement.


In reply to Re^2: Data::Table showing error by ravi45722
in thread Data::Table showing error by ravi45722

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.