ikegami > Syntax-Feature-QwComments > Syntax::Feature::QwComments

Download:
Syntax-Feature-QwComments-v1.12.0.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  1
View/Report Bugs
Module Version: v1.12.0   Source  

NAME ^

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

VERSION ^

Version 1.12.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 ^

BUGS ^

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.

SUPPORT ^

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

    perldoc Syntax::Feature::QwComments

You can also look for information at:

AUTHOR ^

Eric Brine, <ikegami@adaelis.com>

COPYRIGHT & 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.

syntax highlighting: