in reply to Re: perl html tag editing to uppercase
in thread perl html tag editing to uppercase
Boy am I hangin to learn about modules now :)if ($lines=~m/(<)(.+)(>)/) { $tag=$1; $tag2=$2; $tag3=$3; $tag2=~tr/a-z/A-Z/; $new=$tag.$tag2.$tag3; } $upper=~s/(<)(.+)(>)/$new/g;
|
|---|