[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] small(?) puzzler (misdirection)



On Sun, Jul 11, 1999 at 06:35:04PM -0700, Peter Scott wrote:
> On the grounds of laziness, I use $_ where it saves the most typing, which 
> would have been the inner loop in your case...
> 

Even more typing could been saved if the split and loop had been skipped
altogether.  /m would have allowed each of the regex matches to be
performed on the multiline string.

Ronald

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe