[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.19
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
usr
/
share
/
perl5
/
pod
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 perl.pod
16,270 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5004delta.pod
56,240 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5005delta.pod
34,283 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5100delta.pod
55,535 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5101delta.pod
43,888 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5120delta.pod
89,272 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5121delta.pod
10,141 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5122delta.pod
9,603 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5123delta.pod
4,100 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5124delta.pod
3,672 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5125delta.pod
7,683 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5140delta.pod
144,324 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5141delta.pod
7,966 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5142delta.pod
6,892 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5143delta.pod
7,760 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5144delta.pod
6,327 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5160delta.pod
133,651 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5161delta.pod
6,142 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5162delta.pod
3,594 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5163delta.pod
4,085 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5180delta.pod
119,431 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5181delta.pod
6,595 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5182delta.pod
5,335 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5184delta.pod
4,642 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5200delta.pod
115,699 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5201delta.pod
10,899 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5202delta.pod
12,509 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5203delta.pod
9,392 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5220delta.pod
130,963 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5221delta.pod
10,767 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5222delta.pod
12,629 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5223delta.pod
8,456 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5224delta.pod
4,460 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5240delta.pod
64,927 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5241delta.pod
8,215 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5242delta.pod
4,113 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5243delta.pod
11,428 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5244delta.pod
4,510 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5260delta.pod
101,836 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5261delta.pod
7,927 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5262delta.pod
7,880 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5263delta.pod
7,063 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl5280delta.pod
72,113 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl561delta.pod
124,713 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl56delta.pod
107,201 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl581delta.pod
38,061 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl582delta.pod
4,470 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl583delta.pod
6,335 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl584delta.pod
7,363 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl585delta.pod
5,889 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl586delta.pod
4,651 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl587delta.pod
8,357 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl588delta.pod
25,272 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl589delta.pod
53,900 B
SET
[ EDIT ]
|
[ DEL ]
📄 perl58delta.pod
115,165 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlaix.pod
20,437 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlamiga.pod
5,749 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlandroid.pod
7,871 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlapi.pod
443,535 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlapio.pod
19,285 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlartistic.pod
7,010 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlbook.pod
8,338 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlboot.pod
294 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlbot.pod
304 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlbs2000.pod
8,058 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlcall.pod
56,706 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlce.pod
14,602 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlcheat.pod
4,481 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlclib.pod
9,619 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlcn.pod
4,691 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlcommunity.pod
7,217 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlcygwin.pod
27,199 B
SET
[ EDIT ]
|
[ DEL ]
📄 perldata.pod
46,743 B
SET
[ EDIT ]
|
[ DEL ]
📄 perldbmfilter.pod
4,981 B
SET
[ EDIT ]
|
[ DEL ]
📄 perldebguts.pod
38,535 B
SET
[ EDIT ]
|
[ DEL ]
📄 perldebtut.pod
22,152 B
SET
[ EDIT ]
|
[ DEL ]
📄 perldebug.pod
39,258 B
SET
[ EDIT ]
|
[ DEL ]
📄 perldelta.pod
7,063 B
SET
[ EDIT ]
|
[ DEL ]
📄 perldeprecation.pod
18,169 B
SET
[ EDIT ]
|
[ DEL ]
📄 perldiag.pod
284,572 B
SET
[ EDIT ]
|
[ DEL ]
📄 perldos.pod
10,522 B
SET
[ EDIT ]
|
[ DEL ]
📄 perldsc.pod
25,614 B
SET
[ EDIT ]
|
[ DEL ]
📄 perldtrace.pod
7,958 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlebcdic.pod
84,233 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlembed.pod
37,196 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlexperiment.pod
7,195 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlfork.pod
13,355 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlform.pod
16,608 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlfreebsd.pod
1,610 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlfunc.pod
392,957 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlgit.pod
33,509 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlgpl.pod
13,815 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlguts.pod
139,329 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlhack.pod
40,445 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlhacktips.pod
55,509 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlhacktut.pod
6,153 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlhaiku.pod
1,508 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlhist.pod
53,546 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlhpux.pod
30,509 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlhurd.pod
1,993 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlintern.pod
54,572 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlinterp.pod
33,687 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlintro.pod
22,119 B
SET
[ EDIT ]
|
[ DEL ]
📄 perliol.pod
34,185 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlipc.pod
70,829 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlirix.pod
4,395 B
SET
[ EDIT ]
|
[ DEL ]
📄 perljp.pod
7,521 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlko.pod
12,259 B
SET
[ EDIT ]
|
[ DEL ]
📄 perllexwarn.pod
355 B
SET
[ EDIT ]
|
[ DEL ]
📄 perllinux.pod
1,488 B
SET
[ EDIT ]
|
[ DEL ]
📄 perllocale.pod
68,678 B
SET
[ EDIT ]
|
[ DEL ]
📄 perllol.pod
9,580 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlmacos.pod
1,001 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlmacosx.pod
12,060 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlmod.pod
26,250 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlmodinstall.pod
12,792 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlmodlib.pod
76,482 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlmodstyle.pod
22,575 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlmroapi.pod
3,212 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlnetware.pod
6,648 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlnewmod.pod
11,036 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlnumber.pod
8,353 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlobj.pod
35,537 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlootut.pod
26,783 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlop.pod
136,252 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlopenbsd.pod
1,204 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlopentut.pod
9,455 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlos2.pod
93,351 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlos390.pod
15,674 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlos400.pod
4,768 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlpacktut.pod
51,282 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlperf.pod
49,881 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlplan9.pod
5,125 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlpod.pod
22,196 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlpodspec.pod
68,476 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlpolicy.pod
25,629 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlport.pod
87,602 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlpragma.pod
5,176 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlqnx.pod
6,673 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlre.pod
120,901 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlreapi.pod
30,334 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlrebackslash.pod
31,817 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlrecharclass.pod
49,029 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlref.pod
35,304 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlreftut.pod
18,790 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlreguts.pod
38,328 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlrepository.pod
509 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlrequick.pod
18,497 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlreref.pod
14,744 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlretut.pod
121,257 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlriscos.pod
1,529 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlrun.pod
53,550 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlsec.pod
26,184 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlsolaris.pod
29,822 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlsource.pod
6,876 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlstyle.pod
8,630 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlsub.pod
72,967 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlsymbian.pod
15,359 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlsyn.pod
44,512 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlsynology.pod
7,778 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlthrtut.pod
46,459 B
SET
[ EDIT ]
|
[ DEL ]
📄 perltie.pod
38,607 B
SET
[ EDIT ]
|
[ DEL ]
📄 perltoc.pod
694,171 B
SET
[ EDIT ]
|
[ DEL ]
📄 perltodo.pod
376 B
SET
[ EDIT ]
|
[ DEL ]
📄 perltooc.pod
294 B
SET
[ EDIT ]
|
[ DEL ]
📄 perltoot.pod
294 B
SET
[ EDIT ]
|
[ DEL ]
📄 perltrap.pod
10,620 B
SET
[ EDIT ]
|
[ DEL ]
📄 perltru64.pod
8,492 B
SET
[ EDIT ]
|
[ DEL ]
📄 perltw.pod
4,477 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlunicode.pod
82,491 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlunicook.pod
25,488 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlunifaq.pod
13,647 B
SET
[ EDIT ]
|
[ DEL ]
📄 perluniintro.pod
38,340 B
SET
[ EDIT ]
|
[ DEL ]
📄 perluniprops.pod
285,306 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlunitut.pod
7,951 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlutil.pod
7,640 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlvar.pod
78,364 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlvms.pod
50,823 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlvos.pod
3,843 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlwin32.pod
39,298 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlxs.pod
78,920 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlxstut.pod
50,095 B
SET
[ EDIT ]
|
[ DEL ]
📄 perlxstypemap.pod
24,001 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: perlclib.pod
=head1 NAME perlclib - Internal replacements for standard C library functions =head1 DESCRIPTION One thing Perl porters should note is that F<perl> doesn't tend to use that much of the C standard library internally; you'll see very little use of, for example, the F<ctype.h> functions in there. This is because Perl tends to reimplement or abstract standard library functions, so that we know exactly how they're going to operate. This is a reference card for people who are familiar with the C library and who want to do things the Perl way; to tell them which functions they ought to use instead of the more normal C functions. =head2 Conventions In the following tables: =over 3 =item C<t> is a type. =item C<p> is a pointer. =item C<n> is a number. =item C<s> is a string. =back C<sv>, C<av>, C<hv>, etc. represent variables of their respective types. =head2 File Operations Instead of the F<stdio.h> functions, you should use the Perl abstraction layer. Instead of C<FILE*> types, you need to be handling C<PerlIO*> types. Don't forget that with the new PerlIO layered I/O abstraction C<FILE*> types may not even be available. See also the C<perlapio> documentation for more information about the following functions: Instead Of: Use: stdin PerlIO_stdin() stdout PerlIO_stdout() stderr PerlIO_stderr() fopen(fn, mode) PerlIO_open(fn, mode) freopen(fn, mode, stream) PerlIO_reopen(fn, mode, perlio) (Dep- recated) fflush(stream) PerlIO_flush(perlio) fclose(stream) PerlIO_close(perlio) =head2 File Input and Output Instead Of: Use: fprintf(stream, fmt, ...) PerlIO_printf(perlio, fmt, ...) [f]getc(stream) PerlIO_getc(perlio) [f]putc(stream, n) PerlIO_putc(perlio, n) ungetc(n, stream) PerlIO_ungetc(perlio, n) Note that the PerlIO equivalents of C<fread> and C<fwrite> are slightly different from their C library counterparts: fread(p, size, n, stream) PerlIO_read(perlio, buf, numbytes) fwrite(p, size, n, stream) PerlIO_write(perlio, buf, numbytes) fputs(s, stream) PerlIO_puts(perlio, s) There is no equivalent to C<fgets>; one should use C<sv_gets> instead: fgets(s, n, stream) sv_gets(sv, perlio, append) =head2 File Positioning Instead Of: Use: feof(stream) PerlIO_eof(perlio) fseek(stream, n, whence) PerlIO_seek(perlio, n, whence) rewind(stream) PerlIO_rewind(perlio) fgetpos(stream, p) PerlIO_getpos(perlio, sv) fsetpos(stream, p) PerlIO_setpos(perlio, sv) ferror(stream) PerlIO_error(perlio) clearerr(stream) PerlIO_clearerr(perlio) =head2 Memory Management and String Handling Instead Of: Use: t* p = malloc(n) Newx(p, n, t) t* p = calloc(n, s) Newxz(p, n, t) p = realloc(p, n) Renew(p, n, t) memcpy(dst, src, n) Copy(src, dst, n, t) memmove(dst, src, n) Move(src, dst, n, t) memcpy(dst, src, sizeof(t)) StructCopy(src, dst, t) memset(dst, 0, n * sizeof(t)) Zero(dst, n, t) memzero(dst, 0) Zero(dst, n, char) free(p) Safefree(p) strdup(p) savepv(p) strndup(p, n) savepvn(p, n) (Hey, strndup doesn't exist!) strstr(big, little) instr(big, little) strcmp(s1, s2) strLE(s1, s2) / strEQ(s1, s2) / strGT(s1,s2) strncmp(s1, s2, n) strnNE(s1, s2, n) / strnEQ(s1, s2, n) memcmp(p1, p2, n) memNE(p1, p2, n) !memcmp(p1, p2, n) memEQ(p1, p2, n) Notice the different order of arguments to C<Copy> and C<Move> than used in C<memcpy> and C<memmove>. Most of the time, though, you'll want to be dealing with SVs internally instead of raw C<char *> strings: strlen(s) sv_len(sv) strcpy(dt, src) sv_setpv(sv, s) strncpy(dt, src, n) sv_setpvn(sv, s, n) strcat(dt, src) sv_catpv(sv, s) strncat(dt, src) sv_catpvn(sv, s) sprintf(s, fmt, ...) sv_setpvf(sv, fmt, ...) Note also the existence of C<sv_catpvf> and C<sv_vcatpvfn>, combining concatenation with formatting. Sometimes instead of zeroing the allocated heap by using Newxz() you should consider "poisoning" the data. This means writing a bit pattern into it that should be illegal as pointers (and floating point numbers), and also hopefully surprising enough as integers, so that any code attempting to use the data without forethought will break sooner rather than later. Poisoning can be done using the Poison() macros, which have similar arguments to Zero(): PoisonWith(dst, n, t, b) scribble memory with byte b PoisonNew(dst, n, t) equal to PoisonWith(dst, n, t, 0xAB) PoisonFree(dst, n, t) equal to PoisonWith(dst, n, t, 0xEF) Poison(dst, n, t) equal to PoisonFree(dst, n, t) =head2 Character Class Tests There are several types of character class tests that Perl implements. The only ones described here are those that directly correspond to C library functions that operate on 8-bit characters, but there are equivalents that operate on wide characters, and UTF-8 encoded strings. All are more fully described in L<perlapi/Character classification> and L<perlapi/Character case changing>. The C library routines listed in the table below return values based on the current locale. Use the entries in the final column for that functionality. The other two columns always assume a POSIX (or C) locale. The entries in the ASCII column are only meaningful for ASCII inputs, returning FALSE for anything else. Use these only when you B<know> that is what you want. The entries in the Latin1 column assume that the non-ASCII 8-bit characters are as Unicode defines, them, the same as ISO-8859-1, often called Latin 1. Instead Of: Use for ASCII: Use for Latin1: Use for locale: isalnum(c) isALPHANUMERIC(c) isALPHANUMERIC_L1(c) isALPHANUMERIC_LC(c) isalpha(c) isALPHA(c) isALPHA_L1(c) isALPHA_LC(u ) isascii(c) isASCII(c) isASCII_LC(c) isblank(c) isBLANK(c) isBLANK_L1(c) isBLANK_LC(c) iscntrl(c) isCNTRL(c) isCNTRL_L1(c) isCNTRL_LC(c) isdigit(c) isDIGIT(c) isDIGIT_L1(c) isDIGIT_LC(c) isgraph(c) isGRAPH(c) isGRAPH_L1(c) isGRAPH_LC(c) islower(c) isLOWER(c) isLOWER_L1(c) isLOWER_LC(c) isprint(c) isPRINT(c) isPRINT_L1(c) isPRINT_LC(c) ispunct(c) isPUNCT(c) isPUNCT_L1(c) isPUNCT_LC(c) isspace(c) isSPACE(c) isSPACE_L1(c) isSPACE_LC(c) isupper(c) isUPPER(c) isUPPER_L1(c) isUPPER_LC(c) isxdigit(c) isXDIGIT(c) isXDIGIT_L1(c) isXDIGIT_LC(c) tolower(c) toLOWER(c) toLOWER_L1(c) toLOWER_LC(c) toupper(c) toUPPER(c) toUPPER_LC(c) To emphasize that you are operating only on ASCII characters, you can append C<_A> to each of the macros in the ASCII column: C<isALPHA_A>, C<isDIGIT_A>, and so on. (There is no entry in the Latin1 column for C<isascii> even though there is an C<isASCII_L1>, which is identical to C<isASCII>; the latter name is clearer. There is no entry in the Latin1 column for C<toupper> because the result can be non-Latin1. You have to use C<toUPPER_uni>, as described in L<perlapi/Character case changing>.) =head2 F<stdlib.h> functions Instead Of: Use: atof(s) Atof(s) atoi(s) grok_atoUV(s, &uv, &e) atol(s) grok_atoUV(s, &uv, &e) strtod(s, &p) Nothing. Just don't use it. strtol(s, &p, n) grok_atoUV(s, &uv, &e) strtoul(s, &p, n) grok_atoUV(s, &uv, &e) Typical use is to do range checks on C<uv> before casting: int i; UV uv; char* end_ptr; if (grok_atoUV(input, &uv, &end_ptr) && uv <= INT_MAX) i = (int)uv; ... /* continue parsing from end_ptr */ } else { ... /* parse error: not a decimal integer in range 0 .. MAX_IV */ } Notice also the C<grok_bin>, C<grok_hex>, and C<grok_oct> functions in F<numeric.c> for converting strings representing numbers in the respective bases into C<NV>s. Note that grok_atoUV() doesn't handle negative inputs, or leading whitespace (being purposefully strict). Note that strtol() and strtoul() may be disguised as Strtol(), Strtoul(), Atol(), Atoul(). Avoid those, too. In theory C<Strtol> and C<Strtoul> may not be defined if the machine perl is built on doesn't actually have strtol and strtoul. But as those 2 functions are part of the 1989 ANSI C spec we suspect you'll find them everywhere by now. int rand() double Drand01() srand(n) { seedDrand01((Rand_seed_t)n); PL_srand_called = TRUE; } exit(n) my_exit(n) system(s) Don't. Look at pp_system or use my_popen. getenv(s) PerlEnv_getenv(s) setenv(s, val) my_setenv(s, val) =head2 Miscellaneous functions You should not even B<want> to use F<setjmp.h> functions, but if you think you do, use the C<JMPENV> stack in F<scope.h> instead. For C<signal>/C<sigaction>, use C<rsignal(signo, handler)>. =head1 SEE ALSO L<perlapi>, L<perlapio>, L<perlguts>