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 :)Thread Previous | Thread Next