in reply to Replacing a Tag With a List

I'd suggest you do a supersearch. HTML processing is frought with peril, and is best done with a module. One obvious issue is that your code will break if <LIST> is, for example, <list>.


<pr>Jdporter pointed out that I misread the regexp with <LIST>, so I struck out the third sentence. I still think that the OP would be better off using a module for this sort of processing.

emc

At that time [1909] the chief engineer was almost always the chief test pilot as well. That had the fortunate result of eliminating poor engineering early in aviation.

—Igor Sikorsky, reported in AOPA Pilot magazine February 2003.

Replies are listed 'Best First'.
Re^2: Replacing a Tag With a List
by jdporter (Paladin) on Nov 30, 2006 at 22:52 UTC
    if ( "/gie" =~ /i/ ) { print "Are you blind?"; }
    We're building the house of the future together.