How to get the current IP from a Linksys Router

2002-05-12 Thread Jerry LeVan
Hi, I just got online via a cable modem, yea. I am sitting behind a one port linksys Router and my provider uses DHCP so the routerĀ¹s IP is liable to change from Time to time... Here is a bit of Perl that can be used to capture the IP from the Router and perhaps mail it off to work :) Just change

Re: Getting the path of a running process from OS X Perl

2002-05-12 Thread Randal L. Schwartz
> "Charles" == Charles Albrecht <[EMAIL PROTECTED]> writes: Charles> True. And then once you have the $path, you can call open -a later to Charles> launch it. Or just do: Charles> system q(/usr/bin/osascript -e 'tell application "Finder" to open application file id "CWIE"'); Maybe I don't

Re: Getting the path of a running process from OS X Perl

2002-05-12 Thread Charles Albrecht
At 11:02 AM -0700 5/12/2002, Randal L. Schwartz wrote: >> "Charles" == Charles Albrecht <[EMAIL PROTECTED]> writes: > >Charles> #!/usr/bin/perl -w > >Charles> system q(/usr/bin/open -a "`/usr/bin/osascript -e 'tell application "Finder" >to get name of application file id "CWIE" ' `" ); > >Ga

Re: Getting the path of a running process from OS X Perl

2002-05-12 Thread Randal L. Schwartz
> "Charles" == Charles Albrecht <[EMAIL PROTECTED]> writes: Charles> #!/usr/bin/perl -w Charles> system q(/usr/bin/open -a "`/usr/bin/osascript -e 'tell application "Finder" to get name of application file id "CWIE" ' `" ); Gah. That's about four levels too deep. Maybe that was a joke.

Re: [Fink-users] A local 'perl-5.6.1' fink package

2002-05-12 Thread Ken Williams
On Sunday, May 12, 2002, at 11:34 AM, Ken Williams wrote: > I guess one option would be to create a temporary Config.pm somewhere > with the fink paths, and then fool ./installperl into reading that > version. Double-yuck! > > Or I could patch ./installperl to be more flexible, which might be >