免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1334 | 回复: 0
打印 上一主题 下一主题

perl内置函数 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-10-05 20:56 |只看该作者 |倒序浏览

函数
Perl提供了可以直接调用的、数目众多的函数。可以对以下对象进行操作:
* 数组: chomp, join, keys, map, pop, push, reverse, shift, sort, splice, split, unshift, values* 数据库: dbmclose, dbmopen* 目录: chdir, closedir, mkdir, opendir, readdir, rewinddir, rmdir, seekdir, telldir* 文件: binmode, chdir, chmod, chown, chroot, close, eof, fnctl, fileno, flock, getc, glob, ioctl, link, lstat, open, print, printf, read, readdir, readlink, rename, rmdir, seek, select, stat, symlink, sysopen, sysread, syswrite, tell, truncate, umask, unlink, utime, write* 组: endgrent, getgrent, getgrgid, getgrname, getpgrp, setgrent, setpgrp* 哈希表: delete, each, exists, keys, values* 主机: endhostent, gethostbyaddr, gethostbyname, sethostent* 输入: getc, read, sysread* 处理器间通讯: msgctl, msgget, msgrcv, msgsnd, pipe, semctl, semget, semop, shmctl, shmget, shmread, shmwrite* 数学: abs, atan2, cos, exp, hex, int, log, oct, rand, sin, sqrt, srand* 消息队列: msgctl, msgget, msgrcv, msgsnd* 其他: bless, defined, do, eval, formline, import, ref, scalar, syscall, tie, tied, undef, untie, wantarray* 网络: endnetent, getnetbyaddr, getnetbyname, getnetent, setnetent* 输出: die, print, printf, syswrite, warn, write* 口令: endpwent, getpwent, getpwname, getpwuid, setpwent* 进程: alarm, die, dump, exec, exit, fork, getlogin, getpgrp, getppid, getpriority, kill, setpriority, sleep, system, times, umask, wait, waitpid* 协议: endprotent, getprotobyname, getprotobynumber, getprotoent, getservbyname, getservbyport, getservent, setprotoent* 正则表达式: grep, pos, quotemeta, reset, split, study* 范围: caller, local, my* 服务: endservent, getservbyname, getservbyport, getservent, setservent* 套节字: accept, bind, connect, gethostbyaddr, gethostbyname, gethostent, getpeername, getservbyname, getservbyport, getservent, getsockname, getsockopt, listen, recv, select, send, setsockopt, shutdown, socket, socketpair* 字符串: chop, chr, crypt, hex, index, join, lc, lcfirst, length, oct, Ord, pack, q, qq, quotemeta, qw, qx, reverse, rindex, split, sprintf, substr, uc, ucfirst, unpack, vec* 时间: gmtime, localtime, time* UNIX: chmod, chown, chroot, dump, endgrent, endhostent, endnetent, endprotent, endpwent, endservent, fnctl, fork,getgrent, getgrgid, getgrname, gethostent, getlogin, getnetent, getpgrp, getppid, getpriority, getprotobyname, getprotobynumber, getprotoent, getpwent, getpwname, getpwuid, getservbyname, getservbyport, getservent, ioctl, link, lstat, readlink, select, setgrent, sethostent, setnetent, setpgrp, setpriority, setprotoent, setpwent, setservent, sleep, syscall, times, umask, wait, waitpid

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/21651/showart_1273110.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP