develooper Front page | perl.perl5.porters | Postings from August 2014

Re: [perl #121839] Outdated documentation in perlopentut

Thread Previous | Thread Next
From:
Dave Mitchell
Date:
August 25, 2014 19:55
Subject:
Re: [perl #121839] Outdated documentation in perlopentut
Message ID:
20140825195540.GF5204@iabyn.com
On Fri, Aug 22, 2014 at 05:32:06PM -0700, James E Keenan via RT wrote:
> Where is the text you are citing found?
> 
> I searched in both perl 5.16 -- the version you used to generate the bug report -- and in blead and I could not find these texts anywhere, much less in pod/perlopentut.pod.

It's present up to 5.19.2:

    =head2 The Minus File

    Again following the lead of the standard shell utilities, Perl's
    C<open> function treats a file whose name is a single minus, "-", in a
    special way.  If you open minus for reading, it really means to access
    the standard input.  If you open minus for writing, it really means to
    access the standard output.

After which it was removed with this commit:

    commit b25a8b16a0df7e9516919b58acaed4610ca963a2
    Author:     Tom Christiansen <tchrist@perl.com>
    AuthorDate: Fri Jul 12 10:20:36 2013 -0400
    Commit:     Ricardo Signes <rjbs@cpan.org>
    CommitDate: Tue Jul 23 21:25:54 2013 -0700

        Don't patch perlopentut: rewrite it completely

So I guess the ticket can be closed.

-- 
You live and learn (although usually you just live).

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