Roderich Schupp skrev:
Package: wine
Version: 0.9.51-2

Just FYI, building wine with perl 5.10 installed stops when
generating the manual pages with c2man.pl. That's because
the latter contains obscure syntax in several places.
It boils down to:

### perl 5.8
$ perl -Mstrict -e 'my $aref = [ qw/foo bar/ ]; print [EMAIL PROTECTED], "\n";'
foo

### perl 5.10
perl -Mstrict -e 'my $aref = [ qw/foo bar/ ]; print [EMAIL PROTECTED], "\n";'
Can't use string ("2") as an ARRAY ref while "strict refs" in use at -e line 1.

The "correct " idiom for the first element in the array referenced by $aref
is simply

$aref->[0]

Patch attached (hope I found all occurences).

I guess so. It seems similar to a patch submitted here:
http://www.winehq.org/pipermail/wine-patches/2007-January/035016.html
but this does not appear to have been applied upstream (yet?).





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to