Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
A looping and format question...by MCauth (Novice) |
on Dec 13, 2000 at 19:39 UTC ( [id://46427]=perlquestion: print w/replies, xml ) | Need Help?? |
MCauth has asked for the wisdom of the Perl Monks concerning the following question:
Hello: gonna keep it brief, as I've gotta get back to work.
I wrote my own little "whois" program to iterate through a list of domains work wants me to confirm. Got the data w/out too much pain. Now, I've got to print a report. I've
got the format looking the way I want it, but I'm getting huge amounts of duplicates from the loop. Any help would be GREATLY appreciated.
Here's my code: (keep in mind I'm a neophyte, so it won't be pretty!!)
.... I know the DNS portion of the above code is formatted poorly for this post, but it does work. For example, if I were to put in the output from a whois on "perlmonks.org," I'd end up with 18 or so duplicate reports. Any ideas? I'm sure it's a simple fix, but I've been looking at it for so long my brain is fried. Thanks, Matt
Back to
Seekers of Perl Wisdom
|
|