Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: How to extract the first elemnet from an integer type value ???

by prasadbabu (Prior)
on Aug 31, 2006 at 09:18 UTC ( [id://570548]=note: print w/replies, xml ) Need Help??


in reply to How to extract the first elemnet from an integer type value ???

TIMTOWTDI $num = 100; print unpack('A', $num);

Prasad

  • Comment on Re: How to extract the first elemnet from an integer type value ???
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://570548]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-18 09:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found