On Wed, 2008-12-10 at 03:04 +0000, Rob Dixon wrote: > Mr. Shawn H. Corey wrote: > > > > print '', (split( /\./, $ipAddress ))[-1]; > > Ugly, ugly, ugly. > OK, try:
print substr($ipAddress,rindex($ipAddress,'.')+1); -- Just my 0.00000002 million dollars worth, Shawn The key to success is being too stupid to realize you can fail. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/