Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by mutasie

  1. mutasie

    create CSV from an array

    Ah... I didn't even think about that. Thank you so much for pointing that out. I appreciate everyone's help on this! Allen
  2. mutasie

    create CSV from an array

    Another newbie question: From an array, how do I generate a CSV? I use a foreach loop, but it will add an extra "," after the last number, as the example below: my @array = (1,2,3,4,5); foreach my $num (@array){ print $num = $num . ","; } output:1,2,3,4,5, How should I approach this...
  3. mutasie

    Need help to parse and summarize a log file

    I know... still working on my hash skills. A
  4. mutasie

    Need help to parse and summarize a log file

    Keven, Thank you for the advice. I have decided that I will actually parse out the strings and save them in a database. I can do SQL to analize the log. Allen
  5. mutasie

    Need help to parse and summarize a log file

    Thank you so much for the input. Adding one more level of complexity, if the input were the following: 06/19 16:14:47: ERROR: error type 1 06/20 17:25:48: ERROR: error type 1 06/20 18:56:52: ERROR: error type 2 06/21 04:00:15: ERROR: error type 1 06/22 00:03:02: ERROR: error type 1 06/22...
  6. mutasie

    Need help to parse and summarize a log file

    Hey guys, Perl newbie here. I need some advice. Here is the senario: I have a log file that looks like the following: 06/19 16:14:47: ERROR: error type 1 06/20 17:25:48: ERROR: error type 1 06/20 18:56:52: ERROR: error type 1 06/21 04:00:15: ERROR: error type 1 06/22 00:03:02: ERROR: error...

Part and Inventory Search

Back
Top