-
-
23 Aug 2018 16:48:12 UTC
- Distribution: Babble
- Module version: 0.090007
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (4)
- Testers (1514 / 20 / 0)
- Kwalitee
Bus factor: 2- 92.83% Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (19.09KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
NAME
Babble - EXPERIMENTAL Babel-like for perl
VERSION
0.009001
SYNOPSIS
If you're here for help dealing with changes in perl's signatures syntax, look at App::sigfix.
If you're here to try out Babble itself, you'll want to do
use Babble::Filter qw(::CorePluginName External::Plugin::Name);
to have it rewrite your code on the fly, or
perl -MBabble::Filter=::CorePluginName,External::Plugin::Name \ -0777 -pe babble lib/MyFile.pm >lib/MyFile.pmc
to rewrite for shipping.
Current core plugins are
::CoreSignatures
,::State
,::DefinedOr
,::PostfixDeref
,::SubstituteAndReturn
(s//r), and::SKT
(which is a start on rewriting Syntax::Keyword::Try). For an example of an external plugin, see Method::Signatures::PP.Not for 'normal' use but still interesting,
::Sigify
attempts to convert simple @_ unrolls into signatures - best used on its own, followed by applying App::sigfix if you need the 5.22-5.26 oldsignatures style.REPOSITORY
http://github.com/shadow-dot-cat/Babble/
AUTHOR
Matt S Trout (mst) <mst@shadowcat.co.uk>
COPYRIGHT AND LICENSE
This software is copyright (c) 2018 by Matt S Trout (mst).
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Module Install Instructions
To install Babble, copy and paste the appropriate command in to your terminal.
cpanm Babble
perl -MCPAN -e shell install Babble
For more information on module installation, please visit the detailed CPAN module installation guide.