Perl::Tidy::Sweetened::Variable::Twigils - Perl::Tidy::Sweetened filter plugin to handle twigls
our $plugins = Perl::Tidy::Sweetened::Pluggable->new();
twigil => '$!',
marker => 'TWG_BANG',
This is a Perl::Tidy::Sweetened filter which enables the use of twigils as defined by the Twigils module. New accepts:
twigil => '$!'
Declares a new twigil. In this case to be used as $!variable.
marker => 'TWG_BANG'
Provides a text marker to be used to flag the new keywords during prefilter. The source code will be filtered prior to formatting by Perl::Tidy such that:
is turned into:
Then back into the original twigiled variable in the postfilter.
Mark Grimes <firstname.lastname@example.org>
Source repository is at https://github.com/mvgrimes/Perl-Tidy-Sweetened.
Please report any bugs or feature requests on the bugtracker website https://github.com/mvgrimes/Perl-Tidy-Sweetened/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
This software is copyright (c) 2023 by Mark Grimes <email@example.com>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Perl::Tidy::Sweetened, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.