From
perldoc -f hex, the hex strings may only represent integers, this can mean that an EXPR passed to hex has to be wrapped around by quotes, but what will
hex and
oct interpret and return when the EXPR is not enclosed within quotations is remarkably different. What I am seeking wise monks is your graceful guidance into how the darker sides of these functions perform and yield the outcomes exhibited below for I thought perl could also understand the context of the EXPR passed in conjunction of the function used regardless of quotation for such functions as ord, oct and hex...
C:\>perl -
print hex '0xAf';
print $/;
print oct '0xAf';
print $/;
print oct 0xAf;
print $/;
print hex 0xAf;
__END__
175
175
125
373
Excellence is an Endeavor of Persistence.
A Year-Old Monk :D .