home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!darwin.sura.net!wupost!sdd.hp.com!uakari.primate.wisc.edu!ames!nsisrv!Pt!de3a1066a.osd.mil!tswenson
- From: tswenson@de3a1066a.osd.mil (Tim Swenson)
- Newsgroups: comp.lang.perl
- Subject: CHR$() in Perl
- Summary: Looking for the opposite of ord()
- Message-ID: <tswenson.712440785@de3a1066a.osd.mil>
- Date: 29 Jul 92 20:13:05 GMT
- Sender: news@Pt.hq.af.mil
- Lines: 14
-
- This may be simple, but I've looked through
- the Camel book and can't find a thing on this.
-
- I'm looking for the opposite of the ord function.
- (The same as CHR$() in Basic). Given a number I
- need to print the ASCII value of that number.
- In other works, if X=65 I want to print an A.
-
- I need to know how to do this in Perl.
-
- Thanks in advance,
-
- Tim Swenson
- DPLDC, Pentagon
-