Posted on 2007-06-29 21:07:35-07 by dataweaver in response to 5575
Re: Documentation for direct use of modules

Thank you.

When I call Text::Restructured::Parse, it asks for two arguments: $text and $filename. What roles do each of these play in the behavior of the function? Do I feed the text to be parsed into $text, or do I put a path to a file to be parsed in $filename? If the former, what do I put in $filename? If the latter, what do I put in $text?

I am unfamiliar with how one would go about converting a set of command-line options into a hash for use in Text::Restructured::Writer::new or Text::Restructured::new. Could you provide some advice or an example?

Direct Responses: 5580 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.