Gossamer Forum
Home : General : Perl Programming :

How to convert a text file to a HTML file in Perl

Quote Reply
How to convert a text file to a HTML file in Perl
Hi ,

Suppose I ahve a text file which may contain some data in paragraph format or in tabular format.

How can I convert such a file to an HTML file in perl.


For example :

==================
Report
==================
This is a simple report file ...
bla bla bla

Or like below

Name Addr Phone
xyz1 comm. street 93949494
xyz2 infra road 93949444

or any thing ...


Thanks.
Quote Reply
Re: [xaverian] How to convert a text file to a HTML file in Perl In reply to
Huh? You wanna convert what kinda page into "H TML" ???? What do you mean by "HTML" ? Paragraphs? Bold? Underline? You're not very descriptive about what you're after Whistle Also, a full example of what you want to convert (and into what) would be better ;)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!