Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^5: Adding object identifiers corresponding to each IP and printing them to O/P File.

by Melly (Hermit)
on Jan 11, 2007 at 14:46 UTC ( #594165=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Adding object identifiers corresponding to each IP and printing them to O/P File.
in thread Adding object identifiers corresponding to each IP and printing them to O/P File.

I have some code that, afaik, does what you want - however, I ain't posting it until I see some sort of coding effort from you - specifically:

  1. Some attempt to read both files
  2. Some attempt to perform a regex to recognise your headers and objects
  3. Some attempt to sum the final object field where appropriate

Your code needn't work or, indeed, even run, but it should demonstrate good faith on your part...

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


Comment on Re^5: Adding object identifiers corresponding to each IP and printing them to O/P File.
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://594165]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (13)
As of 2014-10-23 09:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (125 votes), past polls