Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Perl Programming/Keywords/chr

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Perl chown chroot Keywords The chr keyword chr returns the character specified with NUMBER. Negative values give the Unicode replacement character (chr(0xfffd)) as long as the bytes pragma is not selected. In that case, the low eight bits of the value truncated to an integer are used. Without NUMBER, the contents of $_ are used. chr is the reverse of ord. Syntax chr NUMBER chr Examples The lines #!"C:/Programms/Perl/site/bin" use 5.10.0; $number = 65; say "number = " . $number, " corresponds to the code '" . chr $number . "'"; returns number = 65 corresponds to the code 'A' See also ord Perl chown chroot Keywords