Re: Perl 5.8.6 bug in open()?
- From: paul@xxxxxxxx (Paul Johnson)
- Date: Tue, 30 Oct 2007 16:09:18 +0100
On Tue, Oct 30, 2007 at 07:42:02AM -0700, Paul Lalli wrote:
It's known, but I don't know that it qualifies as a bug. When you
use the two argument form of open, Perl is looking for both the
filename and mode, concatenated together, possibly with spaces
separating them. Since your file ends in a space, you can't use this
shortcut. In reality, you should NEVER use this short cut.
That's an awfully long time.
The functionality is there for a reason, and sometimes it's appropriate
to use it. Admittedly, that's not very often, but it's more often than
never.
--
Paul Johnson - paul@xxxxxxxx
http://www.pjcj.net
.
- Follow-Ups:
- Re: Perl 5.8.6 bug in open()?
- From: Paul Lalli
- Re: Perl 5.8.6 bug in open()?
- References:
- Perl 5.8.6 bug in open()?
- From: google
- Re: Perl 5.8.6 bug in open()?
- From: Paul Lalli
- Perl 5.8.6 bug in open()?
- Prev by Date: Re: Include variables from external perl script
- Next by Date: Re: Pragmas use strict and use warnings
- Previous by thread: Re: Perl 5.8.6 bug in open()?
- Next by thread: Re: Perl 5.8.6 bug in open()?
- Index(es):
Relevant Pages
|