[Wellington-pm] Today's tricky perl teaser

Jacinta Richardson jarich at perltraining.com.au
Tue Nov 28 02:13:41 PST 2006


Jacinta Richardson wrote:

> 	my @files = m{
> 		([^S]+)		# Host IP (stuff which isn't a space char)

As Grant said, this should be:

                \S+

as should the other similar ones below.

	J

-- 
   ("`-''-/").___..--''"`-._          |  Jacinta Richardson         |
    `6_ 6  )   `-.  (     ).`-.__.`)  |  Perl Training Australia    |
    (_Y_.)'  ._   )  `._ `. ``-..-'   |      +61 3 9354 6001        |
  _..`--'_..-_/  /--'_.' ,'           | contact at perltraining.com.au |
 (il),-''  (li),'  ((!.-'             |   www.perltraining.com.au   |


More information about the Wellington-pm mailing list