Here's my Input file: sourceIP geographic startTime endTime sourcePort 192.168.0.123 Other 1.42E+12 1.42E+12 61077 115.239.228.15 Asia.China 1.42E+12 1.42E+12 47308 74.125.206.188 NorthAmerica.UnitedStates 1.42E+12 1.42E+12 5228 92.51.156.102 Europe.Germany 1.42E+12 1.42E+12 5938 1.1.1.1 Oceania.Australia 1.42E+12 1.42E+12 N/A 201.48.158.12 SouthAmerica.Brazil 1.42E+12 1.42E+12 34290 64.233.167.188 NorthAmerica.UnitedStates 1.42E+12 1.42E+12 5228 50.87.144.182 NorthAmerica.UnitedStates 1.42E+12 1.42E+12 2096 180.222.178.177 Asia.Japan 1.42E+12 1.42E+12 48264 54.161.79.163 NorthAmerica.UnitedStates 1.42E+12 1.42E+12 8576 1.1.1.2 Oceania.Australia 1.42E+12 1.42E+12 123 172.16.16.100 Other 1.42E+12 1.42E+12 138

THe whole input is getting into array while I want the data part only to play with leaving the header fields as it is.


In reply to Re^3: localtime function by rsodhia
in thread localtime function by rsodhia

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.