On Dec 9, 3:35 pm, [EMAIL PROTECTED] (David Shere) wrote: > Hello. I'm not a new perl programmer, but I feel like one today. I > want to pull the last octet off of an IP address and print it to > standard output.
Others already answered your actual split() question. So I'll just suggest an alternative: print substr($ipAddress, rindex($ipAddress, ".") + 1); Paul Lalli -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/