develooper Front page | perl.fwp | Postings from July 2003

Re: range operator for a condition in 2 steps

Thread Previous | Thread Next
From:
John Douglas Porter
Date:
July 31, 2003 06:25
Subject:
Re: range operator for a condition in 2 steps
Message ID:
20030731132518.38143.qmail@web10803.mail.yahoo.com

"James E. Tilley" <tilrman@tilrman.com> wrote:
>   if (/^BEGIN$/ .. (/^\s*$/ .. /^END$/) =~ /E/)

Thank you, James, for teaching me something new about Perl.
I'm still trying to wrap my head around that one.  :-)
hand,
-- 
John Douglas Porter


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About