parsing a tree like structure
- From: patrick.j.rice@xxxxxxxxx (Pat Rice)
- Date: Thu, 26 Jun 2008 14:57:48 +0100
Hi all
I'm wondering if there is a nice way to parse this data, as in is
there any module that could handle this type of data, as in the was it
is presented? so that I can repeat is itn a tree like structure in
HTML ?
so I can pic out the tree like structure and replicate it in some way
so that I can put it in an array or into a database ?? so i could pick
out the data I want.
\==+Interface :
|----Link State.........................................Down
\==+SCSI Interface :
|----Name............................................vmhba1
|----Console Name....................................scsi1
|----Queue Depth.....................................4096
\==+PCI Device :
|----Bus..........................................0x0b
|----Slot.........................................0x00
|----Function.....................................0x00
\==+Scsi Stats :
|----Commands.....................................48632378
|----Blocks Read..................................1862894689
|----Blocks Written...............................858120919
|----Aborts.......................................0
Thanks in advance
Pat
.
- Follow-Ups:
- Re: parsing a tree like structure
- From: Dr.Ruud
- Re: parsing a tree like structure
- From: Brad Baxter
- Re: parsing a tree like structure
- From: Yitzle
- Re: parsing a tree like structure
- From: Yitzle
- Re: parsing a tree like structure
- From: Yitzle
- Re: parsing a tree like structure
- From: Jeff Peng
- Re: parsing a tree like structure
- Prev by Date: Re: use of uninitialized value in subroutine entry at ~~ line 12
- Next by Date: how to click span link in Win32::IEAutomation
- Previous by thread: how to implement this with perl
- Next by thread: Re: parsing a tree like structure
- Index(es):
Relevant Pages
|
Loading