|
|
| Come for the quick hacks, stay for the epiphanies. | |
| PerlMonks |
Re: Re: parsing an ASP fileby dada (Chaplain) |
| on May 20, 2004 at 06:12 UTC ( [id://354910]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
yep. one thing I forgot to mention is that, for the application I'm currently writing (which is basically an ASP cross-reference generator) I need to have the line number where each block appears. so, the code I'm using is something more like:
this way, each element of the returned array contains three elements: the type (ASP or HTM), the line number, and the block itself.
cheers, Aldo King of Laziness, Wizard of Impatience, Lord of Hubris
In Section
Cool Uses for Perl
|
|
||||||||||||||||||||||||||||||||||