On Tue, 2008-12-09 at 15:51 -0500, Mr. Shawn H. Corey wrote:
> print '', (split( /\./, $ipAddress ))[-1];

Thanks.  I was searching for about an hour before I posted here; I found
an answer online a few minutes later:

http://www.perlmonks.org/?node_id=299283

Curious:  What's the '', for?  Scalar context?

-- 
David Shere 
Information Technology Services
Steele Rubber Products
704-483-9343 x277


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to