NAME

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

VERSION

Version 1.16.0

SYNOPSIS

use syntax qw( qw_comments );

my @a = qw(
   foo  # Now with comments!
   bar
);

DESCRIPTION

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.

SEE ALSO

DOCUMENTATION AND SUPPORT

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

perldoc Syntax::Feature::QwComments

You can also find it online at this location:

If you need help, the following are great resources:

BUGS

Please report any bugs or feature requests using https://github.com/ikegami/perl-Syntax-Feature-QwComments/issues. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

REPOSITORY

AUTHOR

Eric Brine, <ikegami@adaelis.com>

COPYRIGHT AND LICENSE

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.