in reply to I need Hex conversion, not!
Numbers are numbers. Their format is determined on output. See sprintf.
If you want to use strings, then use strings.
$SM = "0xFE"; print $SM;
Of course, for strings, there is no numeric addition. Maybe you want to tell us more about your use case.
In Section
Seekers of Perl Wisdom