Re: Newbie: Find and replace events in log file

Discussion in 'Perl' started by Luuk, Jan 14, 2011.

  1. Luuk

    Luuk Guest

    discrete ?

    When i had knowledg about perl, i would create an array, and store the
    date/time values in the array

    a[1]="1-5-11 05:30:00";
    a[2]="1-4-11 09:20:20";

    this way its 'easy' to store a new event
    if (newdate>a[7]) { a[7]=newdate; }

    But i'm a more complete newbie to perl than you ;)
    Luuk, Jan 14, 2011
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.