Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Print Flat File to HTML

by jZed (Prior)
on Nov 20, 2007 at 06:49 UTC ( #651870=note: print w/replies, xml ) Need Help??


in reply to Print Flat File to HTML

Or you could accomplish the same thing with this complete script:
#!/usr/bin/perl use warnings; use strict; use AnyData; adConvert('Tab','somefile.csv','HTMLtable','somefile.html'); __END__
That takes the tab "delimited" file "somefile.csv" and turns it into an HTML table. It assumes that the columns are stored in the first row of the file, if not, you can easily specify them.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://651870]
help
Chatterbox?
[Lady_Aleena]: paco is a little over 2 years before my time.
[Discipulus]: you can try tachyon's iterative approach Re: Win32 Recursive Directory Listing
[Lady_Aleena]: I'm on Linux/
[beech]: isn't 2 year about standard recovery time for that kind of surgery?
[Discipulus]: if you hate FIle::Find
[Lady_Aleena]: I don't hate it, it just drives me crazy.
[Discipulus]: LA the solution is portable to whatever
[Lady_Aleena]: File::Find doesn't have a simple sub wanted example, like get the name of the file.
[Discipulus]: there is also find2perl with your perl installation

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (11)
As of 2017-04-23 20:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (432 votes). Check out past polls.