Advertisement

02.14.2008 at 06:59AM PST, ID: 23163075
[x]
Attachment Details

Parse flat file and display in expandable tree

Asked by wauger in CGI Scripting

Tags: CGI/Perl

Hi all,
I haven't written code in a while and was hoping someone here might be able to help. In theory it seems pretty simply but I am not sure of the syntax.

I need to parse a data text file which natively in this format:

CORP,101,90210-sf101,aggregate2.402:1,10.1.1.100/27,402

Next I need to display it, delimited and in tables.

Ideally I plan to include an expansion tree table so that all data of the same type (CORP) will have a heading that can be expanded to reveal all data under that heading.

How do I start? What is the proper syntax to do this in CGI/Perl?

Thanks for the help.Start Free Trial
[+][-]02.14.2008 at 08:47AM PST, ID: 20894898

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.18.2008 at 10:10AM PST, ID: 20922094

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: CGI Scripting
Tags: CGI/Perl
Sign Up Now!
Solution Provided By: wauger
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628