Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Split int into segments of max int 26

by thanos1983 (Vicar)
on Sep 13, 2017 at 07:47 UTC ( #1199269=note: print w/replies, xml ) Need Help??


in reply to Re: Split int into segments of max int 26
in thread Split int into segments of max int 26

Hello Anonymous Monk,

The reason is simple, read the ASCII Table and Description on the Decimal column you will see (Dec 65 = A) but when you read the int are coming as 1 so you need to add 64 to get the character. You can also read the chr function it contains the same example.

Hope this helps, BR.

Seeking for Perl wisdom...on the process of learning...not there...yet!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1199269]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2018-06-24 00:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (126 votes). Check out past polls.

    Notices?