Re: Minor backward compatibility nit for Test::Smoke

[email protected] (H . Merijn Brand)
Newsgroups perl.daily-build
Message-ID <[email protected]>
On Wed 29 Aug 2001 15:38, "Will Coleda" <[email protected]> wrote:
> version 1.03 ...
> 
> mktest.pl... Can we change
> 
>         $conf{$_}++ for @conf;
> 
> to
> 
>         foreach (@conf) {$conf{$_}++};
> 
> (I happened to try this on a machine with 5.004_04, where apparently 
> the former is a syntax error)

Good catch. Done.

-- 
H.Merijn Brand    Amsterdam Perl Mongers (http://www.amsterdam.pm.org/)
using perl-5.6.1, 5.7.1 & 628 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
  WinNT 4, Win2K pro & WinCE 2.11.  Smoking perl CORE: [email protected]
http://archives.develooper.com/[email protected]/   [email protected]
send smoke reports to: [email protected], QA: http://qa.perl.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.