1Perl::Tidy::Sweetened::UVsaerriaCbolnet:r:iTbPwueitrgelid:l:sPT(ei3rdplym:)D:oScwuemeetnetnaetdi:o:nVariable::Twigils(3pm)
2
3
4

NAME

6       Perl::Tidy::Sweetened::Variable::Twigils - Perl::Tidy::Sweetened filter
7       plugin to handle twigls
8

VERSION

10       version 1.15
11

SYNOPSIS

13           our $plugins = Perl::Tidy::Sweetened::Pluggable->new();
14
15           $plugins->add_filter(
16               Perl::Tidy::Sweetened::Variable::Twigils->new(
17                   twigil => '$!',
18                   marker => 'TWG_BANG',
19               ) );
20

DESCRIPTION

22       This is a Perl::Tidy::Sweetened filter which enables the use of twigils
23       as defined by the Twigils module.  New accepts:
24
25       twigil
26               twigil => '$!'
27
28           Declares a new twigil. In this case to be used as "$!variable".
29
30       marker
31               marker => 'TWG_BANG'
32
33           Provides a text marker to be used to flag the new keywords during
34           "prefilter". The source code will be filtered prior to formatting
35           by Perl::Tidy such that:
36
37               $!class_attribute
38
39           is turned into:
40
41               $__TWG_BANK_1
42
43           Then back into the original twigiled variable in the "postfilter".
44

AUTHOR

46       Mark Grimes <mgrimes@cpan.org>
47

SOURCE

49       Source repository is at
50       <https://github.com/mvgrimes/Perl-Tidy-Sweetened>.
51

BUGS

53       Please report any bugs or feature requests on the bugtracker website
54       <http://github.com/mvgrimes/Perl-Tidy-Sweetened/issues>
55
56       When submitting a bug or request, please include a test-file or a patch
57       to an existing test-file that illustrates the bug or desired feature.
58
60       This software is copyright (c) 2018 by Mark Grimes <mgrimes@cpan.org>.
61
62       This is free software; you can redistribute it and/or modify it under
63       the same terms as the Perl 5 programming language system itself.
64
65
66
67perl v5.28.1                     P2e0r1l8:-:0T8i-d2y8::Sweetened::Variable::Twigils(3pm)
Impressum