P is for Practical | |
PerlMonks |
Re: remove section by section?by tachyon (Chancellor) |
on May 08, 2002 at 05:38 UTC ( [id://164918]=note: print w/replies, xml ) | Need Help?? |
Here is some starter code. You essentially have an XML file to parse. You need to know How to RTFM and search the site as this sort of task is very common.
I would suggest a hash as the data structure because it is easy to index to and delete chunks. XML::Simple will write your hash back to a file for you as well as parse the file directly. Read the docs. cheers tachyon s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
In Section
Seekers of Perl Wisdom
|
|