http://www.perlmonks.org?node_id=593967

Kiran Kumar K V N has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Adding object identifiers corresponding to each IP and printing them to O/P File.

Replies are listed 'Best First'.
Re: Adding object identifiers corresponding to each IP and printing them to O/P File.
by Melly (Hermit) on Jan 10, 2007 at 19:22 UTC

    Please show some code (or offer to pay someone). The task is fairly trivial - a combination of regexs and hashes will do it - btw one thing I remain slightly puzzled over is where the '|5|2|6' type values come from...

    map{$a=1-$_/10;map{$d=$a;$e=$b=$_/20-2;map{($d,$e)=(2*$d*$e+$a,$e**2 -$d**2+$b);$c=$d**2+$e**2>4?$d=8:_}1..50;print$c}0..59;print$/}0..20
    Tom Melly, pm@tomandlu.co.uk
    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: Adding object identifiers corresponding to each IP and printing them to O/P File.
by jdporter (Chancellor) on Jan 10, 2007 at 19:43 UTC

    What kind of file format is that? It looks like some kind of log file. If so, what software generated it?

Re: Adding object identifiers corresponding to each IP and printing them to O/P File.
by bart (Canon) on Jan 11, 2007 at 12:21 UTC
    I don't understand what you mean by the word "object", and how they are supposed to appear in the data file. I'ms sure I'm not alone in that situation, and it's a big showstopper.
Re: Adding object identifiers corresponding to each IP and printing them to O/P File.
by Errto (Vicar) on Jan 11, 2007 at 03:43 UTC

    For running a program on a scheduled basis such as every n minutes, you should use a scheduling program. Most likely your operating system already comes with one: on Unix it would be cron, on Windows it would be the Task Scheduler etc. There's not much point in making this part of your program itself, generally speaking.

    The main part of your question I don't think I can help you with. If you can attach a small sample of what your data file actually looks like, that would help.

Re: Adding object identifiers corresponding to each IP and printing them to O/P File.
by Jenda (Abbot) on Jan 12, 2007 at 23:05 UTC

    I really wonder whether this KiranKumar is a real id^Bndian or whether someone's just making fun of us. I mean I've met quite a few id^Bndians so I am able to believe this Kiran is a real person, but still...