[Chicago-talk] Any handy operators for finding the local IP?

Richard Reina richard at rushlogistics.com
Tue Mar 15 08:38:24 PST 2005


Thanks Greg I'll check it out.

--- Greg Fast <gdf at speakeasy.net> wrote:

> On Tue, 15 Mar 2005 08:16:23 -0800 (PST), Richard
> Reina <richard at rushlogistics.com> wrote:
> > I know there's a handy $< to find the UID of the
> user
> > executing the prorgram.  Is there any handy
> operator
> > to find the IP address of the local machine that
> is
> > running the program.
> 
> Check out perldoc -q hostname.  There are a number
> of potential
> pitfalls with that solution, but it's fine on a
> reasonably "normal"
> box. 
> 
> --
> Greg Fast
> http://cken.chi.groogroo.com/~gdf/
> _______________________________________________
> Chicago-talk mailing list
> Chicago-talk at pm.org
> http://mail.pm.org/mailman/listinfo/chicago-talk
> 



More information about the Chicago-talk mailing list