Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Perl Network programming

Reply
Thread Tools

Perl Network programming

 
 
Kuldeep
Guest
Posts: n/a
 
      05-13-2006
Hi
How t get list computer in perticular Domain through Perl Codng
e.g. If doamin is http://jojo
and computers in this domain are comp1,comp2,comp3

than after querying to jojo script should return
names of conmputer as

Domain : jojo
Computers : comp1,comp2,comp3

 
Reply With Quote
 
 
 
 
Bernhard Brueck
Guest
Posts: n/a
 
      05-14-2006
Kuldeep wrote:

> Hi
> How t get list computer in perticular Domain through Perl Codng
> e.g. If doamin is http://jojo
> and computers in this domain are comp1,comp2,comp3
>
> than after querying to jojo script should return
> names of conmputer as
>
> Domain : jojo
> Computers : comp1,comp2,comp3


easy way:
#!/bin/perl
$ARGV[0] =~ /jojo/ and print "comp1,comp2,comp3\n";


hard way:
find the network address and do reverse lookups

--
Bernhard Brueck
((E-Mail Removed))
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FAQ 1.4 What are Perl 4, Perl 5, or Perl 6? PerlFAQ Server Perl Misc 0 02-27-2011 11:00 PM
FAQ 2.17 What is perl.com? Perl Mongers? pm.org? perl.org? cpan.org? PerlFAQ Server Perl Misc 0 02-03-2011 11:00 AM
FAQ 1.4 What are Perl 4, Perl 5, or Perl 6? PerlFAQ Server Perl Misc 0 01-23-2011 05:00 AM
Perl Help - Windows Perl script accessing a Unix perl Script dpackwood Perl 3 09-30-2003 02:56 AM
Need Perl teacher/school: Network programming Irving Kimura Perl Misc 8 08-02-2003 08:58 PM



Advertisments