Comments (2)
yes I was thinking as a module name so it's easy to plug and use the dirty way :-)
XXX
is an illustration of what I had in mind.
I think we can close this case and simply use XXX
:-)
thanks @perlpunk, great talk at #TPCiC2020
from yaml-pp-p5.
Thanks.
Do you mean an exported function, or do you mean as a module name, so you can do use YPH
?
I think there is an alternative for you: https://metacpan.org/release/XXX
It has several debugging functions, and if you load it via commandline -MXXX
, then you still have a relatively short name even when using the full package name:
XXX::XXX(\%data);
XXX::YYY(\%data);
The cool thing is, you can choose the module for dumping: https://metacpan.org/pod/release/INGY/XXX-0.35/lib/XXX.pm#CONFIGURATION
In version 0.32 I added the possibility to choose the module via an environment variable, and I have set up an alias for this:
alias xxxcolor="export PERL_XXX_DUMPER=YAML::PP::Highlight"
alias xxxnocolor="export PERL_XXX_DUMPER=''"
So I can easily turn on colored highlighting when needed.
I didn't show this in the lightning talk because no time ;-)
from yaml-pp-p5.
Related Issues (20)
- t/31.schema.t fails tests 238 and 3838 when nvtype is IBM DoubleDouble HOT 4
- Update yamlpp-* tools to support the Merge feature. HOT 3
- Merge breaks when merging a node with a sequence. HOT 7
- boolean.pm values cannot be emitted HOT 16
- quote special YAML keywords when dumping HOT 3
- t/54.glob.t fails on perl 5.8.8 or lower HOT 2
- Question: is it possible to force all one-line string scalars to be single-quoted? HOT 1
- Getting a "Bad indendation in FLOWMAP" error HOT 3
- Option to indent lists relative to mapping keys HOT 1
- Schema to support TO_JSON methods HOT 2
- order is not preserved in new subhashes HOT 10
- Doc issue HOT 2
- Bug: Literal scalars with explicit indent seem to have a problem HOT 2
- ypp fails to parse !~ HOT 3
- Parse error on plain key ending with colon HOT 2
- YAML::PP::Load loops infinitely when given tainted string on perl < 5.14 HOT 1
- Recent released versions are prefixed with `v` HOT 1
- anchors don't survive when files are included using the Include Schema HOT 2
- Parser events have offset, but not line number HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yaml-pp-p5.