Perl 5 version 24.3 documentation

Devel::PPPort

NAME

Devel::PPPort - Perl/Pollution/Portability

SYNOPSIS

  1. Devel::PPPort::WriteFile(); # defaults to ./ppport.h
  2. Devel::PPPort::WriteFile('someheader.h');
  3. # Same as above but retrieve contents rather than write file
  4. my $contents = Devel::PPPort::GetFileContents();
  5. my $contents = Devel::PPPort::GetFileContents('someheader.h');

DESCRIPTION

Perl's API has changed over time, gaining new features, new functions, increasing its flexibility, and reducing the impact on the C namespace environment (reduced pollution). The header file written by this module, typically ppport.h, attempts to bring some of the newer Perl API features to older versions of Perl, so that you can worry less about keeping track of old releases, but users can still reap the benefit.

Devel::PPPort contains two functions, WriteFile and GetFileContents . WriteFile 's only purpose is to write the ppport.h C header file. This file contains a series of macros and, if explicitly requested, functions that allow XS modules to be built using older versions of Perl. Currently, Perl versions from 5.003 to 5.20 are supported.

GetFileContents can be used to retrieve the file contents rather than writing it out.

This module is used by h2xs to write the file ppport.h.

Why use ppport.h?

You should use ppport.h in modern code so that your code will work with the widest range of Perl interpreters possible, without significant additional work.

You should attempt older code to fully use ppport.h, because the reduced pollution of newer Perl versions is an important thing. It's so important that the old polluting ways of original Perl modules will not be supported very far into the future, and your module will almost certainly break! By adapting to it now, you'll gain compatibility and a sense of having done the electronic ecology some good.

How to use ppport.h

Don't direct the users of your module to download Devel::PPPort . They are most probably no XS writers. Also, don't make ppport.h optional. Rather, just take the most recent copy of ppport.h that you can find (e.g. by generating it with the latest Devel::PPPort release from CPAN), copy it into your project, adjust your project to use it, and distribute the header along with your module.

Running ppport.h

But ppport.h is more than just a C header. It's also a Perl script that can check your source code. It will suggest hints and portability notes, and can even make suggestions on how to change your code. You can run it like any other Perl program:

  1. perl ppport.h [options] [files]

It also has embedded documentation, so you can use

  1. perldoc ppport.h

to find out more about how to use it.

FUNCTIONS

WriteFile

WriteFile takes one optional argument. When called with one argument, it expects to be passed a filename. When called with no arguments, it defaults to the filename ppport.h.

The function returns a true value if the file was written successfully. Otherwise it returns a false value.

GetFileContents

GetFileContents behaves like WriteFile above, but returns the contents of the would-be file rather than writing it out.

COMPATIBILITY

ppport.h supports Perl versions from 5.003 to 5.20 in threaded and non-threaded configurations.

Provided Perl compatibility API

The header file written by this module, typically ppport.h, provides access to the following elements of the Perl API that is not available in older Perl releases:

  1. _aMY_CXT
  2. _pMY_CXT
  3. aMY_CXT
  4. aMY_CXT_
  5. aTHX
  6. aTHX_
  7. aTHXR
  8. aTHXR_
  9. AvFILLp
  10. boolSV
  11. call_argv
  12. call_method
  13. call_pv
  14. call_sv
  15. caller_cx
  16. ckWARN
  17. CopFILE
  18. CopFILE_set
  19. CopFILEAV
  20. CopFILEGV
  21. CopFILEGV_set
  22. CopFILESV
  23. CopSTASH
  24. CopSTASH_eq
  25. CopSTASH_set
  26. CopSTASHPV
  27. CopSTASHPV_set
  28. CopyD
  29. CPERLscope
  30. dAX
  31. dAXMARK
  32. DEFSV
  33. DEFSV_set
  34. dITEMS
  35. dMY_CXT
  36. dMY_CXT_SV
  37. dNOOP
  38. dTHR
  39. dTHX
  40. dTHXa
  41. dTHXoa
  42. dTHXR
  43. dUNDERBAR
  44. dVAR
  45. dXCPT
  46. dXSTARG
  47. END_EXTERN_C
  48. ERRSV
  49. eval_pv
  50. eval_sv
  51. EXTERN_C
  52. G_METHOD
  53. get_av
  54. get_cv
  55. get_cvn_flags
  56. get_cvs
  57. get_hv
  58. get_sv
  59. grok_bin
  60. grok_hex
  61. grok_number
  62. GROK_NUMERIC_RADIX
  63. grok_numeric_radix
  64. grok_oct
  65. gv_fetchpvn_flags
  66. gv_fetchpvs
  67. gv_fetchsv
  68. gv_stashpvn
  69. gv_stashpvs
  70. GvSVn
  71. HEf_SVKEY
  72. HeUTF8
  73. hv_fetchs
  74. hv_stores
  75. HvNAME_get
  76. HvNAMELEN_get
  77. IN_LOCALE
  78. IN_LOCALE_COMPILETIME
  79. IN_LOCALE_RUNTIME
  80. IN_PERL_COMPILETIME
  81. INT2PTR
  82. IS_NUMBER_GREATER_THAN_UV_MAX
  83. IS_NUMBER_IN_UV
  84. IS_NUMBER_INFINITY
  85. IS_NUMBER_NAN
  86. IS_NUMBER_NEG
  87. IS_NUMBER_NOT_INT
  88. isALNUMC
  89. isASCII
  90. isBLANK
  91. isCNTRL
  92. isGRAPH
  93. isGV_with_GP
  94. isPRINT
  95. isPSXSPC
  96. isPUNCT
  97. isXDIGIT
  98. IVdf
  99. IVSIZE
  100. IVTYPE
  101. load_module
  102. memEQ
  103. memEQs
  104. memNE
  105. memNEs
  106. mg_findext
  107. MoveD
  108. mPUSHi
  109. mPUSHn
  110. mPUSHp
  111. mPUSHs
  112. mPUSHu
  113. MUTABLE_PTR
  114. MUTABLE_SV
  115. mXPUSHi
  116. mXPUSHn
  117. mXPUSHp
  118. mXPUSHs
  119. mXPUSHu
  120. MY_CXT
  121. MY_CXT_CLONE
  122. MY_CXT_INIT
  123. my_snprintf
  124. my_sprintf
  125. my_strlcat
  126. my_strlcpy
  127. newCONSTSUB
  128. newRV_inc
  129. newRV_noinc
  130. newSV_type
  131. newSVpvn
  132. newSVpvn_flags
  133. newSVpvn_share
  134. newSVpvn_utf8
  135. newSVpvs
  136. newSVpvs_flags
  137. newSVpvs_share
  138. newSVuv
  139. Newx
  140. Newxc
  141. Newxz
  142. NOOP
  143. NUM2PTR
  144. NVef
  145. NVff
  146. NVgf
  147. NVTYPE
  148. packWARN
  149. PERL_ABS
  150. PERL_BCDVERSION
  151. PERL_GCC_BRACE_GROUPS_FORBIDDEN
  152. PERL_HASH
  153. PERL_INT_MAX
  154. PERL_INT_MIN
  155. PERL_LONG_MAX
  156. PERL_LONG_MIN
  157. PERL_MAGIC_arylen
  158. PERL_MAGIC_backref
  159. PERL_MAGIC_bm
  160. PERL_MAGIC_collxfrm
  161. PERL_MAGIC_dbfile
  162. PERL_MAGIC_dbline
  163. PERL_MAGIC_defelem
  164. PERL_MAGIC_env
  165. PERL_MAGIC_envelem
  166. PERL_MAGIC_ext
  167. PERL_MAGIC_fm
  168. PERL_MAGIC_glob
  169. PERL_MAGIC_isa
  170. PERL_MAGIC_isaelem
  171. PERL_MAGIC_mutex
  172. PERL_MAGIC_nkeys
  173. PERL_MAGIC_overload
  174. PERL_MAGIC_overload_elem
  175. PERL_MAGIC_overload_table
  176. PERL_MAGIC_pos
  177. PERL_MAGIC_qr
  178. PERL_MAGIC_regdata
  179. PERL_MAGIC_regdatum
  180. PERL_MAGIC_regex_global
  181. PERL_MAGIC_shared
  182. PERL_MAGIC_shared_scalar
  183. PERL_MAGIC_sig
  184. PERL_MAGIC_sigelem
  185. PERL_MAGIC_substr
  186. PERL_MAGIC_sv
  187. PERL_MAGIC_taint
  188. PERL_MAGIC_tied
  189. PERL_MAGIC_tiedelem
  190. PERL_MAGIC_tiedscalar
  191. PERL_MAGIC_utf8
  192. PERL_MAGIC_uvar
  193. PERL_MAGIC_uvar_elem
  194. PERL_MAGIC_vec
  195. PERL_MAGIC_vstring
  196. PERL_PV_ESCAPE_ALL
  197. PERL_PV_ESCAPE_FIRSTCHAR
  198. PERL_PV_ESCAPE_NOBACKSLASH
  199. PERL_PV_ESCAPE_NOCLEAR
  200. PERL_PV_ESCAPE_QUOTE
  201. PERL_PV_ESCAPE_RE
  202. PERL_PV_ESCAPE_UNI
  203. PERL_PV_ESCAPE_UNI_DETECT
  204. PERL_PV_PRETTY_DUMP
  205. PERL_PV_PRETTY_ELLIPSES
  206. PERL_PV_PRETTY_LTGT
  207. PERL_PV_PRETTY_NOCLEAR
  208. PERL_PV_PRETTY_QUOTE
  209. PERL_PV_PRETTY_REGPROP
  210. PERL_QUAD_MAX
  211. PERL_QUAD_MIN
  212. PERL_REVISION
  213. PERL_SCAN_ALLOW_UNDERSCORES
  214. PERL_SCAN_DISALLOW_PREFIX
  215. PERL_SCAN_GREATER_THAN_UV_MAX
  216. PERL_SCAN_SILENT_ILLDIGIT
  217. PERL_SHORT_MAX
  218. PERL_SHORT_MIN
  219. PERL_SIGNALS_UNSAFE_FLAG
  220. PERL_SUBVERSION
  221. PERL_UCHAR_MAX
  222. PERL_UCHAR_MIN
  223. PERL_UINT_MAX
  224. PERL_UINT_MIN
  225. PERL_ULONG_MAX
  226. PERL_ULONG_MIN
  227. PERL_UNUSED_ARG
  228. PERL_UNUSED_CONTEXT
  229. PERL_UNUSED_DECL
  230. PERL_UNUSED_VAR
  231. PERL_UQUAD_MAX
  232. PERL_UQUAD_MIN
  233. PERL_USE_GCC_BRACE_GROUPS
  234. PERL_USHORT_MAX
  235. PERL_USHORT_MIN
  236. PERL_VERSION
  237. Perl_warner
  238. Perl_warner_nocontext
  239. PERLIO_FUNCS_CAST
  240. PERLIO_FUNCS_DECL
  241. PL_bufend
  242. PL_bufptr
  243. PL_compiling
  244. PL_copline
  245. PL_curcop
  246. PL_curstash
  247. PL_DBsignal
  248. PL_DBsingle
  249. PL_DBsub
  250. PL_DBtrace
  251. PL_debstash
  252. PL_defgv
  253. PL_diehook
  254. PL_dirty
  255. PL_dowarn
  256. PL_errgv
  257. PL_error_count
  258. PL_expect
  259. PL_hexdigit
  260. PL_hints
  261. PL_in_my
  262. PL_in_my_stash
  263. PL_laststatval
  264. PL_lex_state
  265. PL_lex_stuff
  266. PL_linestr
  267. PL_na
  268. PL_no_modify
  269. PL_parser
  270. PL_perl_destruct_level
  271. PL_perldb
  272. PL_ppaddr
  273. PL_rsfp
  274. PL_rsfp_filters
  275. PL_signals
  276. PL_stack_base
  277. PL_stack_sp
  278. PL_statcache
  279. PL_stdingv
  280. PL_Sv
  281. PL_sv_arenaroot
  282. PL_sv_no
  283. PL_sv_undef
  284. PL_sv_yes
  285. PL_tainted
  286. PL_tainting
  287. PL_tokenbuf
  288. pMY_CXT
  289. pMY_CXT_
  290. Poison
  291. PoisonFree
  292. PoisonNew
  293. PoisonWith
  294. pTHX
  295. pTHX_
  296. PTR2IV
  297. PTR2nat
  298. PTR2NV
  299. PTR2ul
  300. PTR2UV
  301. PTRV
  302. PUSHmortal
  303. PUSHu
  304. pv_display
  305. pv_escape
  306. pv_pretty
  307. SAVE_DEFSV
  308. START_EXTERN_C
  309. START_MY_CXT
  310. STMT_END
  311. STMT_START
  312. STR_WITH_LEN
  313. sv_2pv_flags
  314. sv_2pv_nolen
  315. sv_2pvbyte
  316. sv_2pvbyte_nolen
  317. sv_2uv
  318. sv_catpv_mg
  319. sv_catpvf_mg
  320. sv_catpvf_mg_nocontext
  321. sv_catpvn_mg
  322. sv_catpvn_nomg
  323. sv_catpvs
  324. sv_catsv_mg
  325. sv_catsv_nomg
  326. SV_CONST_RETURN
  327. SV_COW_DROP_PV
  328. SV_COW_SHARED_HASH_KEYS
  329. SV_GMAGIC
  330. SV_HAS_TRAILING_NUL
  331. SV_IMMEDIATE_UNREF
  332. sv_magic_portable
  333. SV_MUTABLE_RETURN
  334. SV_NOSTEAL
  335. sv_pvn_force_flags
  336. sv_pvn_nomg
  337. sv_setiv_mg
  338. sv_setnv_mg
  339. sv_setpv_mg
  340. sv_setpvf_mg
  341. sv_setpvf_mg_nocontext
  342. sv_setpvn_mg
  343. sv_setpvs
  344. sv_setsv_mg
  345. sv_setsv_nomg
  346. sv_setuv
  347. sv_setuv_mg
  348. SV_SMAGIC
  349. sv_unmagicext
  350. sv_usepvn_mg
  351. SV_UTF8_NO_ENCODING
  352. sv_uv
  353. sv_vcatpvf
  354. sv_vcatpvf_mg
  355. sv_vsetpvf
  356. sv_vsetpvf_mg
  357. SVf
  358. SVf_UTF8
  359. SVfARG
  360. SvGETMAGIC
  361. SvIV_nomg
  362. SvMAGIC_set
  363. SvPV_const
  364. SvPV_flags
  365. SvPV_flags_const
  366. SvPV_flags_const_nolen
  367. SvPV_flags_mutable
  368. SvPV_force
  369. SvPV_force_flags
  370. SvPV_force_flags_mutable
  371. SvPV_force_flags_nolen
  372. SvPV_force_mutable
  373. SvPV_force_nolen
  374. SvPV_force_nomg
  375. SvPV_force_nomg_nolen
  376. SvPV_mutable
  377. SvPV_nolen
  378. SvPV_nolen_const
  379. SvPV_nomg
  380. SvPV_nomg_const
  381. SvPV_nomg_const_nolen
  382. SvPV_nomg_nolen
  383. SvPV_renew
  384. SvPVbyte
  385. SvPVX_const
  386. SvPVX_mutable
  387. SvREFCNT_inc
  388. SvREFCNT_inc_NN
  389. SvREFCNT_inc_simple
  390. SvREFCNT_inc_simple_NN
  391. SvREFCNT_inc_simple_void
  392. SvREFCNT_inc_simple_void_NN
  393. SvREFCNT_inc_void
  394. SvREFCNT_inc_void_NN
  395. SvRV_set
  396. SvSHARED_HASH
  397. SvSTASH_set
  398. SvUOK
  399. SvUV
  400. SvUV_nomg
  401. SvUV_set
  402. SvUVX
  403. SvUVx
  404. SvUVXx
  405. SvVSTRING_mg
  406. UNDERBAR
  407. UTF8_MAXBYTES
  408. UVof
  409. UVSIZE
  410. UVTYPE
  411. UVuf
  412. UVXf
  413. UVxf
  414. vload_module
  415. vnewSVpvf
  416. WARN_ALL
  417. WARN_AMBIGUOUS
  418. WARN_ASSERTIONS
  419. WARN_BAREWORD
  420. WARN_CLOSED
  421. WARN_CLOSURE
  422. WARN_DEBUGGING
  423. WARN_DEPRECATED
  424. WARN_DIGIT
  425. WARN_EXEC
  426. WARN_EXITING
  427. WARN_GLOB
  428. WARN_INPLACE
  429. WARN_INTERNAL
  430. WARN_IO
  431. WARN_LAYER
  432. WARN_MALLOC
  433. WARN_MISC
  434. WARN_NEWLINE
  435. WARN_NUMERIC
  436. WARN_ONCE
  437. WARN_OVERFLOW
  438. WARN_PACK
  439. WARN_PARENTHESIS
  440. WARN_PIPE
  441. WARN_PORTABLE
  442. WARN_PRECEDENCE
  443. WARN_PRINTF
  444. WARN_PROTOTYPE
  445. WARN_QW
  446. WARN_RECURSION
  447. WARN_REDEFINE
  448. WARN_REGEXP
  449. WARN_RESERVED
  450. WARN_SEMICOLON
  451. WARN_SEVERE
  452. WARN_SIGNAL
  453. WARN_SUBSTR
  454. WARN_SYNTAX
  455. WARN_TAINT
  456. WARN_THREADS
  457. WARN_UNINITIALIZED
  458. WARN_UNOPENED
  459. WARN_UNPACK
  460. WARN_UNTIE
  461. WARN_UTF8
  462. WARN_VOID
  463. warner
  464. WIDEST_UTYPE
  465. XCPT_CATCH
  466. XCPT_RETHROW
  467. XCPT_TRY_END
  468. XCPT_TRY_START
  469. XPUSHmortal
  470. XPUSHu
  471. XSprePUSH
  472. XSPROTO
  473. XSRETURN
  474. XSRETURN_UV
  475. XST_mUV
  476. ZeroD

Perl API not supported by ppport.h

There is still a big part of the API not supported by ppport.h. Either because it doesn't make sense to back-port that part of the API, or simply because it hasn't been implemented yet. Patches welcome!

Here's a list of the currently unsupported API, and also the version of Perl below which it is unsupported:

  • perl 5.21.8
    1. BhkDISABLE
    2. BhkENABLE
    3. BhkENTRY_set
    4. MULTICALL
    5. PERL_SYS_TERM
    6. POP_MULTICALL
    7. PUSH_MULTICALL
    8. PadARRAY
    9. PadMAX
    10. PadlistARRAY
    11. PadlistMAX
    12. PadlistNAMES
    13. PadlistNAMESARRAY
    14. PadlistNAMESMAX
    15. PadnameLEN
    16. PadnamePV
    17. PadnameREFCNT
    18. PadnameREFCNT_dec
    19. PadnameSV
    20. PadnamelistARRAY
    21. PadnamelistMAX
    22. PadnamelistREFCNT
    23. PadnamelistREFCNT_dec
    24. XS_APIVERSION_BOOTCHECK
    25. XS_EXTERNAL
    26. XS_INTERNAL
    27. XS_VERSION_BOOTCHECK
    28. XopDISABLE
    29. XopENABLE
    30. XopENTRY
    31. XopENTRYCUSTOM
    32. XopENTRY_set
    33. cophh_new_empty
    34. my_lstat
    35. my_stat
    36. reentrant_free
    37. reentrant_init
    38. reentrant_retry
    39. reentrant_size
    40. ref
    41. sv_get_backrefs
    42. sv_setref_pvs
  • perl 5.21.7
    1. OpHAS_SIBLING
    2. OpSIBLING
    3. OpSIBLING_set
    4. PadnameUTF8
    5. is_invariant_string
    6. newPADNAMELIST
    7. newPADNAMEouter
    8. newPADNAMEpvn
    9. newUNOP_AUX
    10. padnamelist_fetch
    11. padnamelist_store
  • perl 5.21.6
    1. newDEFSVOP
    2. op_convert_list
  • perl 5.21.5
    1. cv_name
    2. newMETHOP
    3. newMETHOP_named
  • perl 5.21.4
    1. cv_set_call_checker_flags
    2. grok_infnan
    3. isinfnan
    4. sync_locale
  • perl 5.21.2
    1. grok_number_flags
    2. op_parent
    3. op_sibling_splice
  • perl 5.21.1
    1. _is_in_locale_category
    2. _is_utf8_char_slow
    3. _is_utf8_idcont
    4. _is_utf8_idstart
    5. _is_utf8_xidcont
    6. _is_utf8_xidstart
    7. isALNUM_lazy
    8. isIDFIRST_lazy
    9. isUTF8_CHAR
    10. markstack_grow
    11. my_strerror
  • perl 5.19.10
    1. OP_TYPE_IS_OR_WAS
  • perl 5.19.9
    1. _to_utf8_fold_flags
    2. _to_utf8_lower_flags
    3. _to_utf8_title_flags
    4. _to_utf8_upper_flags
  • perl 5.19.7
    1. OP_TYPE_IS
  • perl 5.19.4
    1. append_utf8_from_native_byte
    2. is_safe_syscall
    3. uvoffuni_to_utf8_flags
  • perl 5.19.3
    1. croak_memory_wrap
    2. sv_pos_b2u_flags
  • perl 5.19.2
    1. SVt_INVLIST
  • perl 5.19.1
    1. re_intuit_start
    2. toFOLD
    3. toFOLD_utf8
    4. toLOWER_L1
    5. toTITLE
  • perl 5.18.0
    1. hv_rand_set
  • perl 5.17.9
    1. av_tindex
    2. av_top_index
  • perl 5.17.8
    1. _is_uni_FOO
    2. _is_uni_perl_idcont
    3. _is_utf8_FOO
    4. _is_utf8_mark
    5. _is_utf8_perl_idcont
    6. isALPHANUMERIC
    7. isIDCONT
  • perl 5.17.7
    1. SvREFCNT_dec_NN
    2. _is_uni_perl_idstart
    3. _is_utf8_perl_idstart
    4. is_uni_alnumc
    5. is_uni_alnumc_lc
    6. is_utf8_alnumc
  • perl 5.17.6
    1. READ_XDIGIT
  • perl 5.17.4
    1. PL_comppad_name
    2. PadlistREFCNT
    3. newMYSUB
    4. newSVpadname
  • perl 5.17.2
    1. is_uni_blank
    2. is_uni_blank_lc
    3. is_utf8_blank
    4. sv_copypv_flags
    5. sv_copypv_nomg
    6. sv_vcatpvfn_flags
  • perl 5.15.9
    1. utf8_to_uvchr_buf
    2. utf8_to_uvuni_buf
    3. valid_utf8_to_uvchr
    4. valid_utf8_to_uvuni
  • perl 5.15.8
    1. is_utf8_char_buf
    2. wrap_op_checker
  • perl 5.15.7
    1. toLOWER_utf8
    2. toTITLE_utf8
    3. toUPPER_utf8
    4. to_utf8_fold
    5. to_utf8_lower
    6. to_utf8_title
    7. to_utf8_upper
  • perl 5.15.6
    1. newCONSTSUB_flags
  • perl 5.15.4
    1. HvENAMELEN
    2. HvENAMEUTF8
    3. HvNAMELEN
    4. HvNAMEUTF8
    5. gv_autoload_pv
    6. gv_autoload_pvn
    7. gv_autoload_sv
    8. gv_fetchmeth_pv
    9. gv_fetchmeth_pv_autoload
    10. gv_fetchmeth_pvn
    11. gv_fetchmeth_pvn_autoload
    12. gv_fetchmeth_sv
    13. gv_fetchmeth_sv_autoload
    14. gv_fetchmethod_pv_flags
    15. gv_fetchmethod_pvn_flags
    16. gv_fetchmethod_sv_flags
    17. gv_init_pv
    18. gv_init_pvn
    19. gv_init_sv
    20. newGVgen_flags
    21. sv_derived_from_pv
    22. sv_derived_from_pvn
    23. sv_derived_from_sv
    24. sv_does_pv
    25. sv_does_pvn
    26. sv_does_sv
    27. whichsig_pv
    28. whichsig_pvn
    29. whichsig_sv
  • perl 5.15.1
    1. cop_fetch_label
    2. cop_store_label
    3. pad_add_name_pv
    4. pad_add_name_pvn
    5. pad_add_name_pvs
    6. pad_add_name_sv
    7. pad_findmy_pv
    8. pad_findmy_pvn
    9. pad_findmy_pvs
    10. pad_findmy_sv
  • perl 5.14.0
    1. _to_uni_fold_flags
  • perl 5.13.10
    1. foldEQ_utf8_flags
    2. is_utf8_xidcont
    3. is_utf8_xidfirst
  • perl 5.13.8
    1. foldEQ_latin1
    2. parse_arithexpr
    3. parse_fullexpr
    4. parse_listexpr
    5. parse_termexpr
  • perl 5.13.7
    1. HvENAME
    2. OP_CLASS
    3. XopFLAGS
    4. amagic_deref_call
    5. bytes_cmp_utf8
    6. cop_hints_2hv
    7. cop_hints_fetch_pv
    8. cop_hints_fetch_pvn
    9. cop_hints_fetch_pvs
    10. cop_hints_fetch_sv
    11. cophh_2hv
    12. cophh_copy
    13. cophh_delete_pv
    14. cophh_delete_pvn
    15. cophh_delete_pvs
    16. cophh_delete_sv
    17. cophh_fetch_pv
    18. cophh_fetch_pvn
    19. cophh_fetch_pvs
    20. cophh_fetch_sv
    21. cophh_free
    22. cophh_store_pv
    23. cophh_store_pvn
    24. cophh_store_pvs
    25. cophh_store_sv
    26. custom_op_register
    27. custom_op_xop
    28. newFOROP
    29. newWHILEOP
    30. op_lvalue
    31. op_scope
    32. parse_barestmt
    33. parse_block
    34. parse_label
  • perl 5.13.6
    1. LINKLIST
    2. SvTRUE_nomg
    3. ck_entersub_args_list
    4. ck_entersub_args_proto
    5. ck_entersub_args_proto_or_list
    6. cv_get_call_checker
    7. cv_set_call_checker
    8. isWORDCHAR
    9. lex_stuff_pv
    10. mg_free_type
    11. newSVpv_share
    12. op_append_elem
    13. op_append_list
    14. op_contextualize
    15. op_linklist
    16. op_prepend_elem
    17. parse_stmtseq
    18. rv2cv_op_cv
    19. savesharedpvs
    20. savesharedsvpv
    21. sv_2bool_flags
    22. sv_catpv_flags
    23. sv_catpv_nomg
    24. sv_catpvs_flags
    25. sv_catpvs_mg
    26. sv_catpvs_nomg
    27. sv_cmp_flags
    28. sv_cmp_locale_flags
    29. sv_collxfrm_flags
    30. sv_eq_flags
    31. sv_setpvs_mg
  • perl 5.13.5
    1. PL_rpeepp
    2. isOCTAL
    3. lex_stuff_pvs
    4. parse_fullstmt
  • perl 5.13.3
    1. blockhook_register
    2. croak_no_modify
  • perl 5.13.2
    1. SvNV_nomg
    2. find_rundefsv
    3. foldEQ
    4. foldEQ_locale
    5. foldEQ_utf8
    6. hv_fill
    7. sv_dec_nomg
    8. sv_inc_nomg
  • perl 5.13.1
    1. croak_sv
    2. die_sv
    3. mess_sv
    4. sv_2nv_flags
    5. warn_sv
  • perl 5.11.5
    1. sv_pos_u2b_flags
  • perl 5.11.4
    1. prescan_version
  • perl 5.11.2
    1. PL_keyword_plugin
    2. lex_bufutf8
    3. lex_discard_to
    4. lex_grow_linestr
    5. lex_next_chunk
    6. lex_peek_unichar
    7. lex_read_space
    8. lex_read_to
    9. lex_read_unichar
    10. lex_stuff_pvn
    11. lex_stuff_sv
    12. lex_unstuff
  • perl 5.11.1
    1. ck_warner
    2. ck_warner_d
    3. is_utf8_perl_space
    4. is_utf8_perl_word
    5. is_utf8_posix_digit
  • perl 5.11.0
    1. Gv_AMupdate
    2. PL_opfreehook
    3. SVt_REGEXP
    4. SvOOK_offset
    5. av_iter_p
    6. gv_add_by_type
    7. is_ascii_string
    8. pregfree2
    9. save_adelete
    10. save_aelem_flags
    11. save_hdelete
    12. save_helem_flags
    13. sv_utf8_upgrade_flags_grow
  • perl 5.10.1
    1. croak_xs_usage
    2. mro_get_from_name
    3. mro_get_private_data
    4. mro_register
    5. mro_set_mro
    6. mro_set_private_data
    7. save_hints
    8. save_padsv_and_mortalize
    9. save_pushi32ptr
    10. save_pushptr
    11. save_pushptrptr
    12. sv_insert_flags
  • perl 5.10.0
    1. hv_common
    2. hv_common_key_len
    3. sv_destroyable
    4. sys_init
    5. sys_init3
    6. sys_term
  • perl 5.9.5
    1. Perl_signbit
    2. SvRX
    3. SvRXOK
    4. av_create_and_push
    5. av_create_and_unshift_one
    6. gv_fetchfile_flags
    7. lex_start
    8. mro_get_linear_isa
    9. mro_method_changed_in
    10. my_dirfd
    11. pregcomp
    12. ptr_table_clear
    13. ptr_table_fetch
    14. ptr_table_free
    15. ptr_table_new
    16. ptr_table_split
    17. ptr_table_store
    18. re_compile
    19. reg_named_buff_all
    20. reg_named_buff_exists
    21. reg_named_buff_fetch
    22. reg_named_buff_firstkey
    23. reg_named_buff_nextkey
    24. reg_named_buff_scalar
    25. regfree_internal
    26. savesharedpvn
    27. scan_vstring
    28. upg_version
  • perl 5.9.4
    1. PerlIO_context_layers
    2. gv_name_set
    3. hv_copy_hints_hv
    4. my_vsnprintf
    5. newXS_flags
    6. regclass_swash
    7. sv_does
    8. sv_usepvn_flags
  • perl 5.9.3
    1. av_arylen_p
    2. ckwarn
    3. ckwarn_d
    4. csighandler
    5. dMULTICALL
    6. doref
    7. gv_const_sv
    8. hv_eiter_p
    9. hv_eiter_set
    10. hv_name_set
    11. hv_placeholders_get
    12. hv_placeholders_set
    13. hv_riter_p
    14. hv_riter_set
    15. is_utf8_string_loclen
    16. newGIVENOP
    17. newSVhek
    18. newWHENOP
    19. pad_compname_type
    20. savepvs
    21. sortsv_flags
    22. vverify
  • perl 5.9.2
    1. SvPVbyte_force
    2. find_rundefsvoffset
    3. op_refcnt_lock
    4. op_refcnt_unlock
    5. savesvpv
    6. vnormal
  • perl 5.9.1
    1. hv_clear_placeholders
    2. hv_scalar
    3. scan_version
    4. sv_2iv_flags
    5. sv_2uv_flags
  • perl 5.9.0
    1. new_version
    2. save_set_svflags
    3. vcmp
    4. vnumify
    5. vstringify
  • perl 5.8.3
    1. SvIsCOW
    2. SvIsCOW_shared_hash
  • perl 5.8.1
    1. CvPADLIST
    2. PL_comppad
    3. SvVOK
    4. doing_taint
    5. find_runcv
    6. is_utf8_string_loc
    7. packlist
    8. pad_add_anon
    9. pad_new
    10. pad_tidy
    11. save_bool
    12. savestack_grow_cnt
    13. seed
    14. sv_cat_decode
    15. sv_setpviv
    16. sv_setpviv_mg
    17. unpackstring
  • perl 5.8.0
    1. HeUTF8
    2. hv_iternext_flags
    3. hv_store_flags
    4. is_utf8_idcont
    5. nothreadhook
  • perl 5.7.3
    1. OP_DESC
    2. OP_NAME
    3. PL_peepp
    4. PerlIO_clearerr
    5. PerlIO_close
    6. PerlIO_eof
    7. PerlIO_error
    8. PerlIO_fileno
    9. PerlIO_fill
    10. PerlIO_flush
    11. PerlIO_get_base
    12. PerlIO_get_bufsiz
    13. PerlIO_get_cnt
    14. PerlIO_get_ptr
    15. PerlIO_read
    16. PerlIO_seek
    17. PerlIO_set_cnt
    18. PerlIO_set_ptrcnt
    19. PerlIO_setlinebuf
    20. PerlIO_stderr
    21. PerlIO_stdin
    22. PerlIO_stdout
    23. PerlIO_tell
    24. PerlIO_unread
    25. PerlIO_write
    26. SvLOCK
    27. SvSHARE
    28. SvUNLOCK
    29. atfork_lock
    30. atfork_unlock
    31. custom_op_desc
    32. custom_op_name
    33. deb
    34. debstack
    35. debstackptrs
    36. gv_fetchmeth_autoload
    37. ibcmp_utf8
    38. my_fork
    39. my_socketpair
    40. pack_cat
    41. perl_destruct
    42. pv_uni_display
    43. save_shared_pvref
    44. savesharedpv
    45. sortsv
    46. sv_magicext
    47. sv_nolocking
    48. sv_nosharing
    49. sv_recode_to_utf8
    50. sv_uni_display
    51. toFOLD_uni
    52. toLOWER_uni
    53. toTITLE_uni
    54. toUPPER_uni
    55. to_uni_fold
    56. to_uni_lower
    57. to_uni_title
    58. to_uni_upper
    59. to_utf8_case
    60. unpack_str
    61. uvchr_to_utf8_flags
    62. uvuni_to_utf8_flags
    63. vdeb
  • perl 5.7.2
    1. calloc
    2. getcwd_sv
    3. init_tm
    4. malloc
    5. mfree
    6. mini_mktime
    7. my_atof2
    8. my_strftime
    9. op_null
    10. realloc
    11. sv_catpvn_flags
    12. sv_catsv_flags
    13. sv_setsv_flags
    14. sv_utf8_upgrade_flags
    15. sv_utf8_upgrade_nomg
    16. swash_fetch
  • perl 5.7.1
    1. ASCII_TO_NEED
    2. NATIVE_TO_NEED
    3. POPpbytex
    4. bytes_from_utf8
    5. despatch_signals
    6. do_openn
    7. gv_handler
    8. is_lvalue_sub
    9. my_popen_list
    10. save_mortalizesv
    11. scan_num
    12. sv_force_normal_flags
    13. sv_setref_uv
    14. sv_unref_flags
    15. sv_utf8_upgrade
    16. utf8_length
    17. utf8_to_uvchr
    18. utf8_to_uvuni
    19. utf8n_to_uvchr
    20. utf8n_to_uvuni
    21. uvchr_to_utf8
    22. uvuni_to_utf8
  • perl 5.6.1
    1. SvGAMAGIC
    2. apply_attrs_string
    3. bytes_to_utf8
    4. gv_efullname4
    5. gv_fullname4
    6. is_utf8_string
    7. save_generic_pvref
    8. utf16_to_utf8
    9. utf16_to_utf8_reversed
    10. utf8_to_bytes
  • perl 5.6.0
    1. PERL_SYS_INIT3
    2. PL_check
    3. SvIOK_UV
    4. SvIOK_notUV
    5. SvIOK_only_UV
    6. SvPOK_only_UTF8
    7. SvPVbyte_nolen
    8. SvPVbytex
    9. SvPVbytex_force
    10. SvPVutf8
    11. SvPVutf8_force
    12. SvPVutf8_nolen
    13. SvPVutf8x
    14. SvPVutf8x_force
    15. SvUOK
    16. SvUTF8
    17. SvUTF8_off
    18. SvUTF8_on
    19. av_delete
    20. av_exists
    21. call_atexit
    22. caller_cx
    23. cast_i32
    24. cast_iv
    25. cast_ulong
    26. cast_uv
    27. do_gv_dump
    28. do_gvgv_dump
    29. do_hv_dump
    30. do_magic_dump
    31. do_op_dump
    32. do_open9
    33. do_pmop_dump
    34. do_sv_dump
    35. dump_all
    36. dump_eval
    37. dump_form
    38. dump_indent
    39. dump_packsubs
    40. dump_sub
    41. dump_vindent
    42. get_context
    43. get_ppaddr
    44. gv_dump
    45. init_i18nl10n
    46. init_i18nl14n
    47. is_uni_alnum
    48. is_uni_alnum_lc
    49. is_uni_alpha
    50. is_uni_alpha_lc
    51. is_uni_ascii
    52. is_uni_ascii_lc
    53. is_uni_cntrl
    54. is_uni_cntrl_lc
    55. is_uni_digit
    56. is_uni_digit_lc
    57. is_uni_graph
    58. is_uni_graph_lc
    59. is_uni_idfirst
    60. is_uni_idfirst_lc
    61. is_uni_lower
    62. is_uni_lower_lc
    63. is_uni_print
    64. is_uni_print_lc
    65. is_uni_punct
    66. is_uni_punct_lc
    67. is_uni_space
    68. is_uni_space_lc
    69. is_uni_upper
    70. is_uni_upper_lc
    71. is_uni_xdigit
    72. is_uni_xdigit_lc
    73. is_utf8_alnum
    74. is_utf8_alpha
    75. is_utf8_ascii
    76. is_utf8_char
    77. is_utf8_cntrl
    78. is_utf8_digit
    79. is_utf8_graph
    80. is_utf8_idfirst
    81. is_utf8_lower
    82. is_utf8_mark
    83. is_utf8_print
    84. is_utf8_punct
    85. is_utf8_space
    86. is_utf8_upper
    87. is_utf8_xdigit
    88. magic_dump
    89. mess
    90. my_atof
    91. my_fflush_all
    92. newANONATTRSUB
    93. newATTRSUB
    94. newXS
    95. newXSproto
    96. new_collate
    97. new_ctype
    98. new_numeric
    99. op_dump
    100. perl_parse
    101. pmop_dump
    102. re_intuit_string
    103. reginitcolors
    104. require_pv
    105. safesyscalloc
    106. safesysfree
    107. safesysmalloc
    108. safesysrealloc
    109. save_I8
    110. save_alloc
    111. save_destructor
    112. save_destructor_x
    113. save_re_context
    114. save_vptr
    115. scan_bin
    116. set_context
    117. set_numeric_local
    118. set_numeric_radix
    119. set_numeric_standard
    120. str_to_version
    121. sv_2pvutf8
    122. sv_2pvutf8_nolen
    123. sv_force_normal
    124. sv_len_utf8
    125. sv_pos_b2u
    126. sv_pos_u2b
    127. sv_pv
    128. sv_pvbyte
    129. sv_pvbyten
    130. sv_pvbyten_force
    131. sv_pvutf8
    132. sv_pvutf8n
    133. sv_pvutf8n_force
    134. sv_rvweaken
    135. sv_utf8_decode
    136. sv_utf8_downgrade
    137. sv_utf8_encode
    138. swash_init
    139. to_uni_lower_lc
    140. to_uni_title_lc
    141. to_uni_upper_lc
    142. utf8_distance
    143. utf8_hop
    144. vcroak
    145. vform
    146. vmess
    147. vwarn
    148. vwarner
  • perl 5.005_03
    1. POPpx
    2. get_vtbl
    3. save_generic_svref
  • perl 5.005
    1. PL_curpad
    2. PL_modglobal
    3. cx_dump
    4. debop
    5. debprofdump
    6. fbm_compile
    7. fbm_instr
    8. get_op_descs
    9. get_op_names
    10. init_stacks
    11. mg_length
    12. mg_size
    13. newHVhv
    14. new_stackinfo
    15. regdump
    16. regexec_flags
    17. regnext
    18. runops_debug
    19. runops_standard
    20. save_iv
    21. save_op
    22. sv_iv
    23. sv_nv
    24. sv_peek
    25. sv_pvn
    26. sv_pvn_nomg
    27. sv_true
  • perl 5.004_05
    1. CopyD
    2. MoveD
    3. do_binmode
    4. save_aelem
    5. save_helem
  • perl 5.004
    1. GIMME_V
    2. G_VOID
    3. HePV
    4. HeSVKEY_set
    5. SvSetMagicSV
    6. SvSetMagicSV_nosteal
    7. SvSetSV_nosteal
    8. SvTAINTED
    9. SvTAINTED_off
    10. SvTAINTED_on
    11. block_end
    12. block_gimme
    13. block_start
    14. call_list
    15. delimcpy
    16. form
    17. gv_autoload4
    18. gv_fetchmethod_autoload
    19. hv_delayfree_ent
    20. hv_free_ent
    21. ibcmp_locale
    22. intro_my
    23. my_failure_exit
    24. newSVpvf
    25. rsignal
    26. rsignal_state
    27. save_I16
    28. save_gp
    29. share_hek
    30. start_subparse
    31. sv_catpvf
    32. sv_catpvf_mg
    33. sv_cmp_locale
    34. sv_derived_from
    35. sv_magic_portable
    36. sv_setpvf
    37. sv_setpvf_mg
    38. sv_taint
    39. sv_tainted
    40. sv_untaint
    41. sv_vcatpvf
    42. sv_vcatpvf_mg
    43. sv_vcatpvfn
    44. sv_vsetpvf
    45. sv_vsetpvf_mg
    46. sv_vsetpvfn
    47. toLOWER_LC
    48. vnewSVpvf
    49. warner
  • perl 5.003_07
    1. HeHASH
    2. HeKEY
    3. HeKLEN
    4. HeSVKEY
    5. HeSVKEY_force
    6. HeVAL
    7. cv_const_sv
    8. do_open
    9. gv_efullname3
    10. gv_fullname3
    11. hv_delete_ent
    12. hv_exists_ent
    13. hv_fetch_ent
    14. hv_iterkeysv
    15. hv_ksplit
    16. hv_store_ent
    17. my_pclose
    18. my_popen
    19. sv_gets
    20. unsharepvn

BUGS

If you find any bugs, Devel::PPPort doesn't seem to build on your system, or any of its tests fail, please file an issue here: https://github.com/mhx/Devel-PPPort/issues/

AUTHORS

  • Version 1.x of Devel::PPPort was written by Kenneth Albanowski.

  • Version 2.x was ported to the Perl core by Paul Marquess.

  • Version 3.x was ported back to CPAN by Marcus Holland-Moritz.

  • Versions >= 3.22 are maintained with support from Matthew Horsfall (alh).

COPYRIGHT

Version 3.x, Copyright (C) 2004-2013, Marcus Holland-Moritz.

Version 2.x, Copyright (C) 2001, Paul Marquess.

Version 1.x, Copyright (C) 1999, Kenneth Albanowski.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

See h2xs, ppport.h.