[Omaha.pm] code reduction

Andy Lester andy at petdance.com
Thu May 10 15:11:59 PDT 2007


On May 10, 2007, at 4:54 PM, Jay Hannah wrote:

> my $eot = chr(4);    # Perl regex's can't see newlines, so cheat
> temporarily.

Yes they can.  Look at the /s and /m flags in perlre.

--
Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance







More information about the Omaha-pm mailing list