>>>>> "Andy" == Andy Wardley <[EMAIL PROTECTED]> writes:

Andy> Note that it return an empty value rather than an empty list if the match
Andy> fails.  This allows you to do things like:

Andy>   [% IF string.match(...) %]

Andy> or

Andy>   [% IF (matches = string.match(...)) %]

Andy> and so on.

Rock on!  I was wondering how that would work until I kept scrolling
down. :)

Thanks Andy.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!


Reply via email to