On 1/30/06, Keith Worthington <[EMAIL PROTECTED]> wrote: snip > Wow, it is going to take me some time to wrap my head around this code. I > really like the commenting idea. That certainly will help the next time > around. > I don't get the lines where you defined the pattern. > i.e. my $border = qr{ cool_pattern_stuff }xi > Hmm is qr something special? I guess I will start with the x modifier man > page. snip
Yes, it is the "quote regex" operator. It takes a string and returns a compiled regex. You can read more at "perldoc perlop" and "perldoc perlre". -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>