Does anyone know how (or could anyone point me to a good reference to LEARN how) to perform a parsing sequence with PERL that would be useful for listing configured Virtual Hosts in an Apache web server config file? The format of the VirtualHost directives, for anyone who has not used them, is this: <VirtualHost ip> Configuration Directives here </VirtualHost> I'd like to create a perl script that will parse the file, IGNORING anything outside the <VirtualHost ip></VirtualHost> tags, but do something useful with the data inside them. I already know how to do the latter part, but how can I create a loop that will ignore everything until it hits <VirtualHost ip>, parse everything until it hits </VirtualHost>, and start ignoring again? Any assistance appreciated... Matt ------------------------------------------------------------------ Matt Housh Morpheus.Net Administrator email: ([EMAIL PROTECTED]) web: (http://jaeger.morpheus.net/) ------------------------------------------------------------------ you played me well, mortal. but i have played me for time out of mind. -- To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject.