Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by borisz (Canon)
on Aug 31, 2006 at 09:07 UTC ( #570545=note: print w/replies, xml ) Need Help??


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

or use a regex
print $num =~ /^(.)/;
Boris
  • 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
Node Status?
node history
Node Type: note [id://570545]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2017-03-29 16:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (351 votes). Check out past polls.