Re: regular expression?
On Thu, Feb 15, 2001 at 08:39:05PM -0500, Andrew Perrin wrote:
> Of course, a regex is overkill in the below example; the equivalent is:
>
> while (<DIRLIST>) {
> next unless $_ eq 'index.html';
> ....
> }
Indeed.
--
-----------=======-=-======-=========-----------=====------------=-=------
/ Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \
` bcollins@debian.org -- bcollins@openldap.org -- bcollins@linux.com '
`---=========------=======-------------=-=-----=-===-======-------=--=---'
Reply to: