develooper Front page | perl.perl5.porters | Postings from October 2001

Re: [REPATCH] Re: [PATCH] Re: [ID 20011030.064] File::Temp tempdir (CLEANUP => 1) and -T on OpenBSD 2.9

Thread Previous | Thread Next
From:
Benjamin Goldberg
Date:
October 31, 2001 05:23
Subject:
Re: [REPATCH] Re: [PATCH] Re: [ID 20011030.064] File::Temp tempdir (CLEANUP => 1) and -T on OpenBSD 2.9
Message ID:
3BDFFC34.5AE86B88@earthlink.net
Rafael Garcia-Suarez wrote:
[snip]
> +                   @files = map { /^(.*)\z/ ; $1 } readdir $d;

AFAIK, it's perfectly valid to have a newline in a filename.  Not that
it's a good idea to do it, but it's possible.  So add a /s flag, I guess

-- 
Klein bottle for rent - inquire within.

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