⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 UNIX下perl实现代码
💻
字号:
Perl 5 DynaLoaderSee DynaLoader.pm for detailed specification.This module is very similar to the other Perl 5 modules except thatConfigure selects which dl_*.xs file to use.After Configure has been run the Makefile.PL will generate a Makefilewhich will run xsubpp on a specific dl_*.xs file and write the outputto DynaLoader.cAfter that the processing is the same as any other module.Note that, to be effective, the DynaLoader module must be _statically_linked into perl! Configure should arrange this.This interface is based on the work and comments of (in no particularorder): Larry Wall, Robert Sanders, Dean Roehrich, Jeff Okamoto, AnnoSiegel, Thomas Neumann, Paul Marquess, Charles Bailey and others.The dl_*.xs files should either be named after the dynamic linkingoperating system interface used if that interface is available on morethan one type of system, e.g.:	dlopen  for dlopen()/dlsym() type functions (SunOS, BSD)	dld     for the GNU dld library functions (linux, ?)or else the osname, e.g., hpux, next, vms etc.Both are determined by Configure and so only those specific names thatConfigure knows/uses will work.If porting the DynaLoader to a platform that has a core dynamic linkinginterface similar to an existing generic type, e.g., dlopen or dld,please try to port the corresponding dl_*.xs file (using #ifdef's ifrequired).Otherwise, or if that proves too messy, create a new dl_*.xs file namedafter your osname. Configure will give preference to a dl_$osname.xsfile if one exists.The file dl_dlopen.xs is a reference implementation by Paul Marquesswhich is a good place to start if porting from scratch. For more complexplatforms take a look at dl_dld.xs. The dlutils.c file holds somecommon definitions that are #included into the dl_*.xs files.After the initial implementation of a new DynaLoader dl_*.xs file youmay need to edit or create ext/MODULE/MODULE.bs files (library bootstrapfiles) to reflect the needs of your platform and linking software.Refer to DynaLoader.pm, lib/ExtUtils/MakeMaker.pm and any existingext/MODULE/MODULE.bs files for more information.Tim Bunce.August 1994

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -