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

Re^5: How to split an integer??

by nvivek (Vicar)
on Dec 07, 2012 at 04:44 UTC ( #1007682=note: print w/ replies, xml ) Need Help??


in reply to Re^4: How to split an integer??
in thread How to split an integer??

For splitting integer value, need to specify pattern explicitly as null string as follows.

# $number contains numerical value which is greater than 9 split('', $number);


Comment on Re^5: How to split an integer??
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2014-12-27 08:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls