Date: Thu, 7 Feb 2002 21:41:52 -0500 From: ScaryG <freymann@scaryg.shacknet.nu> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Perl Question about Splitting up a string Message-ID: <20020207214152.1f61d855.freymann@scaryg.shacknet.nu>
next in thread | raw e-mail | index | archive | help
How would one go about cutting up a line like this: [6]joe@domain.com(10.0.0.1) to get just the IP number at the end in Perl?? My pattern matching skills lack, as you can tell, but I did manage to strip all the other junk out of the line and be left with just this chunk. Suggestions? gf To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020207214152.1f61d855.freymann>