The optput will be original data --> &an HTML string - <© TVS> decoded data --> &an HTML string - <© TVS> I want the output be in the form original data --> &an HTML string - <© TVS> How will i do it using the module?#!/usr/bin/perl; use HTML::Entities; $to_decode = "&an HTML string - <© TVS>"; $decoded = decode_entities($to_decode); print "original data --> $to_decode\n"; print "decoded data --> $decoded\n";
In reply to Re^2: character replace
by sandy1028
in thread character replace
by sandy1028
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |