++ed by:
1 non-PAUSE user
Author image ikegami
and 1 contributors


Syntax::Feature::QwComments - Pragma to allow comments in qw()


Version 1.14.0


    use syntax qw( qw_comments );
    my @a = qw(
       foo  # Now with comments!


Syntax::Feature::QwComments is a lexically-scoped pragma that allows comments inside of qw().

qw() should work identically with and without this pragma in all other respects except one: In addition to escaping delimiters and itself, \ will escape #.

This module was formerly known as feature::qw_comments.

use syntax qw( qw_comments );

use Syntax::Feature::QwComments;

Allow comments inside of qw() until the end of the current lexical scope.

no syntax qw( qw_comments );

no Syntax::Feature::QwComments;

The standard qw() syntax is restored until the end of the current lexical scope.



Please report any bugs or feature requests to bug-Syntax-Feature-QwComments at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Syntax-Feature-QwComments. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.


You can find documentation for this module with the perldoc command.

    perldoc Syntax::Feature::QwComments

You can also look for information at:


Eric Brine, <ikegami@adaelis.com>


No rights reserved.

The author has dedicated the work to the Commons by waiving all of his or her rights to the work worldwide under copyright law and all related or neighboring legal rights he or she had in the work, to the extent allowable by law.

Works under CC0 do not require attribution. When citing the work, you should not imply endorsement by the author.