Re: Get IP Address

2003-01-22 Thread Paul O'Russa
Or a nifty one-liner if you really want to compact it, like this: my $ipc = (`ipconfig` =~ m/IP Address[ \.]+: (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/)[0]; Paul >>> "Harald Wopenka" <[EMAIL PROTECTED]> 1/22/2003 12:45:00 PM >>> Hi, $ipc=`ipconfig`; $ipc=substr($ipc,index(lc($ipc),lc("ip ad")));

RE: CGI and client side

2003-01-10 Thread Paul O'Russa
Yes, it does. It also can run on the client side in IE on Windows, when properly designed to do so. >>> "Samuel Dorfman" <[EMAIL PROTECTED]> 1/8/2003 2:48:13 PM >>> CGI and client sideCorrect me if I am wrong but I believe ActiveX runs on the server side. Sam -Original Message- Fro

Re: spell checking an HTML document

2003-01-03 Thread Paul O'Russa
I was asking this same question a couple months ago and never got a satisfactory answer. I ended up using a little pre-compiled command-line spellchecker called "aspell" that had an option for HTML files (I don't recall why I didn't look for ispell-- maybe it had something to do with being on W

Re: CPU Usage via perl

2002-12-16 Thread Paul O'Russa
I don't know about any dedicated Perl modules, but you can do this via a script that uses Microsoft's WMI, like this (I'm sure the code could be shortened for your use-- this is a general purpose WMI script): wmi.pl * Win32_Processor LoadPercentage "wmi.pl" script below: ***

Re: Perl equivalent to VB's IsObject

2002-12-06 Thread Paul O'Russa
It depends on what you're trying to do, but I think the "ref" function might work. It returns a true value if the argument is a reference. The value it returns just so happens to be the type of reference (i.e. ARRAY, CODE, HASH, etc). Also, if the reference has been "blessed" into a package i

Re: Help Finding URL connection modules

2002-11-13 Thread Paul O'Russa
Check out the LWP module. Paul O. >>> "Scott Purcell" <[EMAIL PROTECTED]> 11/13/2002 10:50:11 AM >>> Hello, I am trying to find a perl module that would allow me to connect to a URL, then make a connection to that URL (to see if it is alive). I have tried some google searched, but have not fou