To: | nv-l@lists.tivoli.com |
---|---|
Subject: | Re: Perl vs shell scripts |
From: | Chris Cowan <chris.cowan@2ND-WAVE.COM> |
Date: | Wed, 17 Mar 1999 09:25:43 -0800 |
Organization: | 2nd Wave |
Reply-to: | Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU> |
Sender: | Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU> |
"MENEZES, ALAIN" wrote: > > > Never fork a process unless you need to. For example, I > > constantly see people writing code that will do a `nslookup` rather > > than > > use gethostbyname(). > > > [MENEZES, ALAIN] Do you mean that perl scripts can use > subroutines (like e.g. gethostbynames() ) ? Exactly! Perl is very feature rich in this area, even perl4. I can actually do a fork(), exec(), wait(), open sockets, there's even a generic interface to the kernel using syscall(). With perl5, the story gets better. I can dynamically load libraries and write modules which can call just about any API library I want to. Actually, I have always wanted to take some time and write some wrappers to allow me to use the Netview libraries from perl5. PS. I wish the Netview NT people had chosen perl rather than Tcl.
chris.cowan.vcf
smime.p7s |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | Re: NETVIEW SERVER IP ADDRESS CHANGE, Ken Garst. |
---|---|
Next by Date: | Re: Help me out to discover a new printer!!!!, Ken Garst. |
Previous by Thread: | Re: Perl vs shell scripts, Thomas Seidel |
Next by Thread: | Clearing Nways databases under AIX 4.3.2, Jane Curry |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Archive operated by Skills 1st Ltd
See also: The NetView Web