Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Adding object identifiers corresponding to each IP and printing them to O/P File.

by Kiran Kumar K V N (Initiate)
on Jan 10, 2007 at 18:11 UTC ( #593967=perlquestion: print w/replies, xml ) Need Help??

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...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://593967]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2022-07-02 14:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (103 votes). Check out past polls.

    Notices?