Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^4: Make a Markup Method in Perl?

by perl.j (Pilgrim)
on May 16, 2012 at 18:48 UTC ( #970890=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Make a Markup Method in Perl?
in thread Make a Markup Method in Perl?

I said in my original post that it will be outputted into an RTF file (.rtf). So Term::ANSIColor wouldn't work. Even if I was using a terminal, not many useful features are supported in the Windows DOS (which I'm using).

--perl.j


Comment on Re^4: Make a Markup Method in Perl?
Replies are listed 'Best First'.
Re^5: Make a Markup Method in Perl?
by elTriberium (Friar) on May 16, 2012 at 19:01 UTC

    If you want to write some formatted output to an RTF file then you have 2 options:

    • Learn about the RTF file format and write a method which transforms your original text into this format
    • Use an existing module which already does that. Searching for "rtf" on CPAN returns many results, so going through these results would be a good first step

    Maybe I also misunderstood your question, but to me it sounds like that's all you want

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://970890]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2015-07-08 00:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls