Comment 3 for bug 991869

Revision history for this message
In , Frank (frank-redhat-bugs) wrote :

Description of problem:
Due to a change in perl syntax for Perl 5.14 and onwards, the use of qw(...) in specific contexts is now disallowed. This generates lots of messages of the form:
Use of qw(...) as parentheses is deprecated at /usr/sbin/psad line 4264.

Version-Release number of selected component (if applicable):
psad-2.1.7-2.fc15.x86_64
perl-5.14.2-191.fc16.x86_64

How reproducible:
100% of time

Steps to Reproduce:
1. Run "psad --help" or any other psad options.
2.
3.

Actual results:
Numerous messages about deprecated feature.

Expected results:
No deprecated messages

Additional info:
Reading some of the perl list this only occurs in statements of the form:
for my $var qw(...) { ... }
and is fixed by the addition of "()", i.e.
for my $var (qw(...)) { ... }