in reply to
Re: please explain this script
in thread
please explain this script
one more question.. what is ord actually doing I thought ord makes asci characters. Please excuse my ignorance. and thanks for the help.
Comment on
Re: Re: please explain this script
Replies are listed 'Best First'.
Re: Re: Re: please explain this script
by
davido
(Cardinal)
on May 28, 2004 at 15:45 UTC
ord
returns the ordinal value (usually the ascii value) of a given literal character. For example,
print ord('A');
prints 65.
Dave
[reply]
[d/l]
In Section
Seekers of Perl Wisdom