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

Re: Is updating "Ancient Perl" examples in documentation a good idea?

Thread Previous | Thread Next
From:
demerphq
Date:
August 28, 2009 15:20
Subject:
Re: Is updating "Ancient Perl" examples in documentation a good idea?
Message ID:
9b18b3110908281520m23166374t442722e4ef2e8f89@mail.gmail.com
2009/8/28 brian d foy <brian.d.foy@gmail.com>:
> In article
> <aeba50980908270831q17c8da1crcf073f71039c6f3f@mail.gmail.com>, Flavio
> Poletti <polettix@gmail.com> wrote:
>
>> For example, in perldiag I found the following example:
>>
>>     open(OUT,">$ARGV[0]") or die "Can't write to $ARGV[0]: $!";
>
>> I think that, were this example written today, it would be more like this:
>>
>>     open my $out, '>', $ARGV[0] or die "Can't write to $ARGV[0]: $!";
>
> I've been doing this for the perlfaq when I run across things.
>
> If we need a documentation  pumpking to pay attention to these sorts of
> things, apply the doc patches, and so on so other people can work on
> the other favorite parts, I herby volunteer :)

FWIW, I think this is a good idea, and I second your motion, and would
be happy to vote in favour of granting you a commit bit for this
purpose.

cheers.
Yves


-- 
perl -Mre=debug -e "/just|another|perl|hacker/"

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