$valuewidth =~ m/>/>/g;
$valuewidth =~ m/>/&\#x3E;/g;
Ok Ghoti here all the files. The compile error occured even before I started to work on this, I copied to adjust output according to business requirements. I'm trying to get the value 195 as seen in output to show in image width=''. After which I'll be able to pupulate other areas accordingly. Thanks for helping.
Thanks Ghoti, I got it working, I eliminated the redundant code using code only once where possible.