On Dec 12, 2007 7:09 AM, jeff pang <[EMAIL PROTECTED]> wrote: > > --- "Dr.Ruud" <[EMAIL PROTECTED]> wrote: > > > jeff pang schreef: > > > > > open FD,"test.db" or die $!; > > > > Jeff, could you please start using lexical filehandles, more > > whitespace, > > and 3-argument opens, > > Ok I can but I don't like. > When I uploaded my cpan module with a lexical FH and 3 args open, it > can't be passed by testors, who use the Perl which version is below > than 5.6. So for the compatibility of different versions, using > traditional ways is not bad. snip
Yes, actually it is. Perl 5.6 came out in 2001. It is time to let Perl 5.005 die. In fact, it is getting close to the time we should let Perl 5.6 die (a couple of years from now after 5.10 has had a chance to percolate its way through various operating systems). Now, knowing about how the old constructs work so we can recognize and work with them is a good thing, but keeping them artificially alive is not. Even AIX and HPUX have upgraded to at least Perl 5.6 by default (they were the last holdouts I remember). Failing backwards compatibility with an ancient version of Perl is not a bad thing. Or do you also support Perl 4? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/