Perl-users.jp

附表1. Perl5 の OP Code(v5.8.8)

0nullOP_NULLnull operation
1stubOP_STUBstub
2scalarOP_SCALARscalar
3pushmarkOP_PUSHMARKpushmark
4wantarrayOP_WANTARRAYwantarray
5constOP_CONSTconstant item
6gvsvOP_GVSVscalar variable
7gvOP_GVglob value
8gelemOP_GELEMglob elem
9padsvOP_PADSVprivate variable
10padavOP_PADAVprivate array
11padhvOP_PADHVprivate hash
12padanyOP_PADANYprivate value
13pushreOP_PUSHREpush regexp
14rv2gvOP_RV2GVref-to-glob cast
15rv2svOP_RV2SVscalar dereference
16av2arylenOP_AV2ARYLENarray length
17rv2cvOP_RV2CVsubroutine dereference
18anoncodeOP_ANONCODEanonymous subroutine
19prototypeOP_PROTOTYPEsubroutine prototype
20refgenOP_REFGENreference constructor
21srefgenOP_SREFGENsingle ref constructor
22refOP_REFreference-type operator
23blessOP_BLESSbless
24backtickOP_BACKTICKquoted execution (``, qx)
25globOP_GLOBglob
26readlineOP_READLINE<HANDLE>
27rcatlineOP_RCATLINEappend I/O operator
28regcmaybeOP_REGCMAYBEregexp internal guard
29regcresetOP_REGCRESETregexp internal reset
30regcompOP_REGCOMPregexp compilation
31matchOP_MATCHpattern match (m//)
32qrOP_QRpattern quote (qr//)
33substOP_SUBSTsubstitution (s///)
34substcontOP_SUBSTCONTsubstitution iterator
35transOP_TRANStransliteration (tr///)
36sassignOP_SASSIGNscalar assignment
37aassignOP_AASSIGNlist assignment
38chopOP_CHOPchop
39schopOP_SCHOPscalar chop
40chompOP_CHOMPchomp
41schompOP_SCHOMPscalar chomp
42definedOP_DEFINEDdefined operator
43undefOP_UNDEFundef operator
44studyOP_STUDYstudy
45posOP_POSmatch position
46preincOP_PREINCpreincrement (++)
47i_preincOP_I_PREINCinteger preincrement (++)
48predecOP_PREDECpredecrement (--)
49i_predecOP_I_PREDECinteger predecrement (--)
50postincOP_POSTINCpostincrement (++)
51i_postincOP_I_POSTINCinteger postincrement (++)
52postdecOP_POSTDECpostdecrement (--)
53i_postdecOP_I_POSTDECinteger postdecrement (--)
54powOP_POWexponentiation (**)
55multiplyOP_MULTIPLYmultiplication (*)
56i_multiplyOP_I_MULTIPLYinteger multiplication (*)
57divideOP_DIVIDEdivision (/)
58i_divideOP_I_DIVIDEinteger division (/)
59moduloOP_MODULOmodulus (%)
60i_moduloOP_I_MODULOinteger modulus (%)
61repeatOP_REPEATrepeat (x)
62addOP_ADDaddition (+)
63i_addOP_I_ADDinteger addition (+)
64subtractOP_SUBTRACTsubtraction (-)
65i_subtractOP_I_SUBTRACTinteger subtraction (-)
66concatOP_CONCATconcatenation (.) or string
67stringifyOP_STRINGIFYstring
68left_shiftOP_LEFT_SHIFTleft bitshift (<<)
69right_shiftOP_RIGHT_SHIFTright bitshift (>>)
70ltOP_LTnumeric lt (<)
71i_ltOP_I_LTinteger lt (<)
72gtOP_GTnumeric gt (>)
73i_gtOP_I_GTinteger gt (>)
74leOP_LEnumeric le (<=)
75i_leOP_I_LEinteger le (<=)
76geOP_GEnumeric ge (>=)
77i_geOP_I_GEinteger ge (>=)
78eqOP_EQnumeric eq (==)
79i_eqOP_I_EQinteger eq (==)
80neOP_NEnumeric ne (!=)
81i_neOP_I_NEinteger ne (!=)
82ncmpOP_NCMPnumeric comparison (<=>)
83i_ncmpOP_I_NCMPinteger comparison (<=>)
84sltOP_SLTstring lt
85sgtOP_SGTstring gt
86sleOP_SLEstring le
87sgeOP_SGEstring ge
88seqOP_SEQstring eq
89sneOP_SNEstring ne
90scmpOP_SCMPstring comparison (cmp)
91bit_andOP_BIT_ANDbitwise and (&)
92bit_xorOP_BIT_XORbitwise xor (^)
93bit_orOP_BIT_ORbitwise or (|)
94negateOP_NEGATEnegation (-)
95i_negateOP_I_NEGATEinteger negation (-)
96notOP_NOTnot
97complementOP_COMPLEMENT1's complement (~)
98atan2OP_ATAN2atan2
99sinOP_SINsin
100cosOP_COScos
101randOP_RANDrand
102srandOP_SRANDsrand
103expOP_EXPexp
104logOP_LOGlog
105sqrtOP_SQRTsqrt
106intOP_INTint
107hexOP_HEXhex
108octOP_OCToct
109absOP_ABSabs
110lengthOP_LENGTHlength
111substrOP_SUBSTRsubstr
112vecOP_VECvec
113indexOP_INDEXindex
114rindexOP_RINDEXrindex
115sprintfOP_SPRINTFsprintf
116formlineOP_FORMLINEformline
117ordOP_ORDord
118chrOP_CHRchr
119cryptOP_CRYPTcrypt
120ucfirstOP_UCFIRSTucfirst
121lcfirstOP_LCFIRSTlcfirst
122ucOP_UCuc
123lcOP_LClc
124quotemetaOP_QUOTEMETAquotemeta
125rv2avOP_RV2AVarray dereference
126aelemfastOP_AELEMFASTconstant array element
127aelemOP_AELEMarray element
128asliceOP_ASLICEarray slice
129eachOP_EACHeach
130valuesOP_VALUESvalues
131keysOP_KEYSkeys
132deleteOP_DELETEdelete
133existsOP_EXISTSexists
134rv2hvOP_RV2HVhash dereference
135helemOP_HELEMhash element
136hsliceOP_HSLICEhash slice
137unpackOP_UNPACKunpack
138packOP_PACKpack
139splitOP_SPLITsplit
140joinOP_JOINjoin or string
141listOP_LISTlist
142lsliceOP_LSLICElist slice
143anonlistOP_ANONLISTanonymous list ([])
144anonhashOP_ANONHASHanonymous hash ({})
145spliceOP_SPLICEsplice
146pushOP_PUSHpush
147popOP_POPpop
148shiftOP_SHIFTshift
149unshiftOP_UNSHIFTunshift
150sortOP_SORTsort
151reverseOP_REVERSEreverse
152grepstartOP_GREPSTARTgrep
153grepwhileOP_GREPWHILEgrep iterator
154mapstartOP_MAPSTARTmap
155mapwhileOP_MAPWHILEmap iterator
156rangeOP_RANGEflipflop
157flipOP_FLIPrange (or flip)
158flopOP_FLOPrange (or flop)
159andOP_ANDlogical and (&&)
160orOP_ORlogical or (||)
161xorOP_XORlogical xor
162cond_exprOP_COND_EXPRconditional expression
163andassignOP_ANDASSIGNlogical and assignment (&&=)
164orassignOP_ORASSIGNlogical or assignment (||=)
165methodOP_METHODmethod lookup
166entersubOP_ENTERSUBsubroutine entry
167leavesubOP_LEAVESUBsubroutine exit
168leavesublvOP_LEAVESUBLVlvalue subroutine return
169callerOP_CALLERcaller
170warnOP_WARNwarn
171dieOP_DIEdie
172resetOP_RESETsymbol reset
173lineseqOP_LINESEQline sequence
174nextstateOP_NEXTSTATEnext statement
175dbstateOP_DBSTATEdebug next statement
176unstackOP_UNSTACKiteration finalizer
177enterOP_ENTERblock entry
178leaveOP_LEAVEblock exit
179scopeOP_SCOPEblock
180enteriterOP_ENTERITERforeach loop entry
181iterOP_ITERforeach loop iterator
182enterloopOP_ENTERLOOPloop entry
183leaveloopOP_LEAVELOOPloop exit
184returnOP_RETURNreturn
185lastOP_LASTlast
186nextOP_NEXTnext
187redoOP_REDOredo
188dumpOP_DUMPdump
189gotoOP_GOTOgoto
190exitOP_EXITexit
191openOP_OPENopen
192closeOP_CLOSEclose
193pipe_opOP_PIPE_OPpipe
194filenoOP_FILENOfileno
195umaskOP_UMASKumask
196binmodeOP_BINMODEbinmode
197tieOP_TIEtie
198untieOP_UNTIEuntie
199tiedOP_TIEDtied
200dbmopenOP_DBMOPENdbmopen
201dbmcloseOP_DBMCLOSEdbmclose
202sselectOP_SSELECTselect system call
203selectOP_SELECTselect
204getcOP_GETCgetc
205readOP_READread
206enterwriteOP_ENTERWRITEwrite
207leavewriteOP_LEAVEWRITEwrite exit
208prtfOP_PRTFprintf
209printOP_PRINTprint
210sysopenOP_SYSOPENsysopen
211sysseekOP_SYSSEEKsysseek
212sysreadOP_SYSREADsysread
213syswriteOP_SYSWRITEsyswrite
214sendOP_SENDsend
215recvOP_RECVrecv
216eofOP_EOFeof
217tellOP_TELLtell
218seekOP_SEEKseek
219truncateOP_TRUNCATEtruncate
220fcntlOP_FCNTLfcntl
221ioctlOP_IOCTLioctl
222flockOP_FLOCKflock
223socketOP_SOCKETsocket
224sockpairOP_SOCKPAIRsocketpair
225bindOP_BINDbind
226connectOP_CONNECTconnect
227listenOP_LISTENlisten
228acceptOP_ACCEPTaccept
229shutdownOP_SHUTDOWNshutdown
230gsockoptOP_GSOCKOPTgetsockopt
231ssockoptOP_SSOCKOPTsetsockopt
232getsocknameOP_GETSOCKNAMEgetsockname
233getpeernameOP_GETPEERNAMEgetpeername
234lstatOP_LSTATlstat
235statOP_STATstat
236ftrreadOP_FTRREAD-R
237ftrwriteOP_FTRWRITE-W
238ftrexecOP_FTREXEC-X
239ftereadOP_FTEREAD-r
240ftewriteOP_FTEWRITE-w
241fteexecOP_FTEEXEC-x
242ftisOP_FTIS-e
243fteownedOP_FTEOWNED-o
244ftrownedOP_FTROWNED-O
245ftzeroOP_FTZERO-z
246ftsizeOP_FTSIZE-s
247ftmtimeOP_FTMTIME-M
248ftatimeOP_FTATIME-A
249ftctimeOP_FTCTIME-C
250ftsockOP_FTSOCK-S
251ftchrOP_FTCHR-c
252ftblkOP_FTBLK-b
253ftfileOP_FTFILE-f
254ftdirOP_FTDIR-d
255ftpipeOP_FTPIPE-p
256ftlinkOP_FTLINK-l
257ftsuidOP_FTSUID-u
258ftsgidOP_FTSGID-g
259ftsvtxOP_FTSVTX-k
260ftttyOP_FTTTY-t
261fttextOP_FTTEXT-T
262ftbinaryOP_FTBINARY-B
263chdirOP_CHDIRchdir
264chownOP_CHOWNchown
265chrootOP_CHROOTchroot
266unlinkOP_UNLINKunlink
267chmodOP_CHMODchmod
268utimeOP_UTIMEutime
269renameOP_RENAMErename
270linkOP_LINKlink
271symlinkOP_SYMLINKsymlink
272readlinkOP_READLINKreadlink
273mkdirOP_MKDIRmkdir
274rmdirOP_RMDIRrmdir
275open_dirOP_OPEN_DIRopendir
276readdirOP_READDIRreaddir
277telldirOP_TELLDIRtelldir
278seekdirOP_SEEKDIRseekdir
279rewinddirOP_REWINDDIRrewinddir
280closedirOP_CLOSEDIRclosedir
281forkOP_FORKfork
282waitOP_WAITwait
283waitpidOP_WAITPIDwaitpid
284systemOP_SYSTEMsystem
285execOP_EXECexec
286killOP_KILLkill
287getppidOP_GETPPIDgetppid
288getpgrpOP_GETPGRPgetpgrp
289setpgrpOP_SETPGRPsetpgrp
290getpriorityOP_GETPRIORITYgetpriority
291setpriorityOP_SETPRIORITYsetpriority
292timeOP_TIMEtime
293tmsOP_TMStimes
294localtimeOP_LOCALTIMElocaltime
295gmtimeOP_GMTIMEgmtime
296alarmOP_ALARMalarm
297sleepOP_SLEEPsleep
298shmgetOP_SHMGETshmget
299shmctlOP_SHMCTLshmctl
300shmreadOP_SHMREADshmread
301shmwriteOP_SHMWRITEshmwrite
302msggetOP_MSGGETmsgget
303msgctlOP_MSGCTLmsgctl
304msgsndOP_MSGSNDmsgsnd
305msgrcvOP_MSGRCVmsgrcv
306semgetOP_SEMGETsemget
307semctlOP_SEMCTLsemctl
308semopOP_SEMOPsemop
309requireOP_REQUIRErequire
310dofileOP_DOFILEdo "file"
311enterevalOP_ENTEREVALeval "string"
312leaveevalOP_LEAVEEVALeval "string" exit
313entertryOP_ENTERTRYeval {block}
314leavetryOP_LEAVETRYeval {block} exit
315ghbynameOP_GHBYNAMEgethostbyname
316ghbyaddrOP_GHBYADDRgethostbyaddr
317ghostentOP_GHOSTENTgethostent
318gnbynameOP_GNBYNAMEgetnetbyname
319gnbyaddrOP_GNBYADDRgetnetbyaddr
320gnetentOP_GNETENTgetnetent
321gpbynameOP_GPBYNAMEgetprotobyname
322gpbynumberOP_GPBYNUMBERgetprotobynumber
323gprotoentOP_GPROTOENTgetprotoent
324gsbynameOP_GSBYNAMEgetservbyname
325gsbyportOP_GSBYPORTgetservbyport
326gserventOP_GSERVENTgetservent
327shostentOP_SHOSTENTsethostent
328snetentOP_SNETENTsetnetent
329sprotoentOP_SPROTOENTsetprotoent
330sserventOP_SSERVENTsetservent
331ehostentOP_EHOSTENTendhostent
332enetentOP_ENETENTendnetent
333eprotoentOP_EPROTOENTendprotoent
334eserventOP_ESERVENTendservent
335gpwnamOP_GPWNAMgetpwnam
336gpwuidOP_GPWUIDgetpwuid
337gpwentOP_GPWENTgetpwent
338spwentOP_SPWENTsetpwent
339epwentOP_EPWENTendpwent
340ggrnamOP_GGRNAMgetgrnam
341ggrgidOP_GGRGIDgetgrgid
342ggrentOP_GGRENTgetgrent
343sgrentOP_SGRENTsetgrent
344egrentOP_EGRENTendgrent
345getloginOP_GETLOGINgetlogin
346syscallOP_SYSCALLsyscall
347lockOP_LOCKlock
348threadsvOP_THREADSVper-thread value
349setstateOP_SETSTATEset statement info
350method_namedOP_METHOD_NAMEDmethod with known name
351customOP_CUSTOMunknown custom operator

目次へ

Last modified: $Date: 2008-06-04T08:01:12.241090Z $