師匠の散歩

きままにPerlでも

関数リスト

使用しているPerlの関数リストを求める/ showFunctions.cgi

function

使っている環境でのPerlの関数一覧を表示する

use Pod::Functions;                               
foreach my $functionName (sort keys %Flavor) {  # グローバル連想配列 %Flavor にデータが入っている。
  print $functionName,$Flavor{$func};
}
1-Xa file test (-r, -x, etc)
2__FILE__the name of the current source file
3__LINE__the current source line number
4__PACKAGE__the current package
5__SUB__the current subroutine, or C if not in a subroutine
6absabsolute value function
7acceptaccept an incoming socket connect
8alarmschedule a SIGALRM
9atan2arctangent of Y/X in the range -PI to PI
10bindbinds an address to a socket
11binmodeprepare binary files for I/O
12blesscreate an object
13breakbreak out of a C block
14callerget context of the current subroutine call
15chdirchange your current working directory
16chmodchanges the permissions on a list of files
17chompremove a trailing record separator from a string
18chopremove the last character from a string
19chownchange the ownership on a list of files
20chrget character this number represents
21chrootmake directory new root for path lookups
22closeclose file (or pipe or socket) handle
23closedirclose directory handle
24connectconnect to a remote socket
25continueoptional trailing block in a while or foreach
26coscosine function
27cryptone-way passwd-style encryption
28dbmclosebreaks binding on a tied dbm file
29dbmopencreate binding on a tied dbm file
30definedtest whether a value, variable, or function is defined
31deletedeletes a value from a hash
32dieraise an exception or bail out
33doturn a BLOCK into a TERM
34dumpcreate an immediate core dump
35eachretrieve the next key/value pair from a hash
36endgrentbe done using group file
37endhostentbe done using hosts file
38endnetentbe done using networks file
39endprotoentbe done using protocols file
40endpwentbe done using passwd file
41endserventbe done using services file
42eoftest a filehandle for its end
43evalcatch exceptions or compile and run code
44evalbytessimilar to string eval, but intend to parse a bytestream
45execabandon this program to run another
46existstest whether a hash key is present
47exitterminate this program
48expraise I to a power
49fcreturn casefolded version of a string
50fcntlfile control system call
51filenoreturn file descriptor from filehandle
52flocklock an entire file with an advisory lock
53forkcreate a new process just like this one
54formatdeclare a picture format with use by the write() function
55formlineinternal function used for formats
56getcget the next character from the filehandle
57getgrentget next group record
58getgrgidget group record given group user ID
59getgrnamget group record given group name
60gethostbyaddrget host record given its address
61gethostbynameget host record given name
62gethostentget next hosts record
63getloginreturn who logged in at this tty
64getnetbyaddrget network record given its address
65getnetbynameget networks record given name
66getnetentget next networks record
67getpeernamefind the other end of a socket connection
68getpgrpget process group
69getppidget parent process ID
70getpriorityget current nice value
71getprotobynameget protocol record given name
72getprotobynumberget protocol record numeric protocol
73getprotoentget next protocols record
74getpwentget next passwd record
75getpwnamget passwd record given user login name
76getpwuidget passwd record given user ID
77getservbynameget services record given its name
78getservbyportget services record given numeric port
79getserventget next services record
80getsocknameretrieve the sockaddr for a given socket
81getsockoptget socket options on a given socket
82globexpand filenames using wildcards
83gmtimeconvert UNIX time into record or string using Greenwich time
84gotocreate spaghetti code
85greplocate elements in a list test true against a given criterion
86hexconvert a string to a hexadecimal number
87importpatch a module's namespace into your own
88indexfind a substring within a string
89intget the integer portion of a number
90ioctlsystem-dependent device control system call
91joinjoin a list into a string using a separator
92keysretrieve list of indices from a hash
93killsend a signal to a process or process group
94lastexit a block prematurely
95lcreturn lower-case version of a string
96lcfirstreturn a string with just the next letter in lower case
97lengthreturn the number of bytes in a string
98linkcreate a hard link in the filesystem
99listenregister your socket as a server
100localcreate a temporary value for a global variable (dynamic scoping)
101localtimeconvert UNIX time into record or string using local time
102lockget a thread lock on a variable, subroutine, or method
103logretrieve the natural logarithm for a number
104lstatstat a symbolic link
105m//match a string with a regular expression pattern
106mapapply a change to a list to get back a new list with the changes
107mkdircreate a directory
108msgctlSysV IPC message control operations
109msggetget SysV IPC message queue
110msgrcvreceive a SysV IPC message from a message queue
111msgsndsend a SysV IPC message to a message queue
112mydeclare and assign a local variable (lexical scoping)
113nextiterate a block prematurely
114nounimport some module symbols or semantics at compile time
115octconvert a string to an octal number
116openopen a file, pipe, or descriptor
117opendiropen a directory
118ordfind a character's numeric representation
119ourdeclare and assign a package variable (lexical scoping)
120packconvert a list into a binary representation
121packagedeclare a separate global namespace
122pipeopen a pair of connected filehandles
123popremove the last element from an array and return it
124posfind or set the offset for the last/next m//g search
125printoutput a list to a filehandle
126printfoutput a formatted list to a filehandle
127prototypeget the prototype (if any) of a subroutine
128pushappend one or more elements to an array
129q/STRING/singly quote a string
130qq/STRING/doubly quote a string
131qr/STRING/compile pattern
132quotemetaquote regular expression magic characters
133qw/STRING/quote a list of words
134qx/STRING/backquote quote a string
135randretrieve the next pseudorandom number
136readfixed-length buffered input from a filehandle
137readdirget a directory from a directory handle
138readlinefetch a record from a file
139readlinkdetermine where a symbolic link is pointing
140readpipeexecute a system command and collect standard output
141recvreceive a message over a Socket
142redostart this loop iteration over again
143reffind out the type of thing being referenced
144renamechange a filename
145requireload in external functions from a library at runtime
146resetclear all variables of a given name
147returnget out of a function early
148reverseflip a string or a list
149rewinddirreset directory handle
150rindexright-to-left substring search
151rmdirremove a directory
152s///replace a pattern with a string
153sayoutput a list to a filehandle, appending a newline
154scalarforce a scalar context
155seekreposition file pointer for random-access I/O
156seekdirreposition directory pointer
157selectreset default output or do I/O multiplexing
158semctlSysV semaphore control operations
159semgetget set of SysV semaphores
160semopSysV semaphore operations
161sendsend a message over a socket
162setgrentprepare group file for use
163sethostentprepare hosts file for use
164setnetentprepare networks file for use
165setpgrpset the process group of a process
166setpriorityset a process's nice value
167setprotoentprepare protocols file for use
168setpwentprepare passwd file for use
169setserventprepare services file for use
170setsockoptset some socket options
171shiftremove the first element of an array, and return it
172shmctlSysV shared memory operations
173shmgetget SysV shared memory segment identifier
174shmreadread SysV shared memory
175shmwritewrite SysV shared memory
176shutdownclose down just half of a socket connection
177sinreturn the sine of a number
178sleepblock for some number of seconds
179socketcreate a socket
180socketpaircreate a pair of sockets
181sortsort a list of values
182spliceadd or remove elements anywhere in an array
183splitsplit up a string using a regexp delimiter
184sprintfformatted print into a string
185sqrtsquare root function
186srandseed the random number generator
187statget a file's status information
188statedeclare and assign a persistent lexical variable
189studyoptimize input data for repeated searches
190subdeclare a subroutine, possibly anonymously
191substrget or alter a portion of a string
192symlinkcreate a symbolic link to a file
193syscallexecute an arbitrary system call
194sysopenopen a file, pipe, or descriptor
195sysreadfixed-length unbuffered input from a filehandle
196sysseekposition I/O pointer on handle used with sysread and syswrite
197systemrun a separate program
198syswritefixed-length unbuffered output to a filehandle
199tellget current seekpointer on a filehandle
200telldirget current seekpointer on a directory handle
201tiebind a variable to an object class
202tiedget a reference to the object underlying a tied variable
203timereturn number of seconds since 1970
204timesreturn elapsed time for self and child processes
205tr///transliterate a string
206truncateshorten a file
207ucreturn upper-case version of a string
208ucfirstreturn a string with just the next letter in upper case
209umaskset file creation mode mask
210undefremove a variable or function definition
211unlinkremove one link to a file
212unpackconvert binary structure into normal perl variables
213unshiftprepend more elements to the beginning of a list
214untiebreak a tie binding to a variable
215useload in a module at compile time and import its namespace
216utimeset a file's last access and modify times
217valuesreturn a list of the values in a hash
218vectest or set particular bits in a string
219waitwait for any child process to die
220waitpidwait for a particular child process to die
221wantarrayget void vs scalar vs list context of current subroutine call
222warnprint debugging info
223writeprint a picture record
224y///transliterate a string

showFunctions.cgi // Topに戻る // indexに戻る
Copyright(C) 2009-2021 Grandmaster Last up : 2020/09/18