Comments (1)
This is already supported and documented in the Pod::Text man page:
You can also call parse_lines() to parse an array of lines or parse_string_document() to parse a document already in memory. As with parse_file(), parse_lines() and parse_string_document() default to sending their output to "STDOUT" unless changed with the output_fh() method.
To put the output from any parse method into a string instead of a file handle, call the output_string() method instead of output_fh().
See Pod::Simple for more specific details on the methods available to all derived parsers.
from podlators.
Related Issues (18)
- Piping POD into pod2man fails as of last release HOT 1
- Changes for .IX handling seem to have silenced the output HOT 1
- Uninitialized value on empty output from stdin input
- Add a parse_from_string function HOT 1
- nroff preamble uses a non-standard `\h"..."` escape
- Left-over version control markers in t/general/basic.t HOT 3
- Optionally suppress version number comments (allow deterministic builds) HOT 6
- Exit status different between pod2man and pod2text HOT 1
- Justification regression with groff 1.23.0 (?) HOT 4
- S< non-breaking text > does not work with Pod::Text::Color HOT 1
- Output is incorrect when I/O layer is specified by binmode() HOT 5
- Missing visual space in nested lists HOT 5
- Change in Perl 5 blead causing failures in t/man/devise-date.t HOT 2
- Semantic versioning may cause downstream problems in Perl core distribution HOT 5
- Optional printing of target URLs in groff output HOT 1
- 'use autodie' causes Perl 5 build process to gag on podlators HOT 4
- v6 breaks some of my modules that want Perl v5.10 support HOT 6
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 podlators.