如何导出带有我自己的模块的模块列表?

编程入门 行业动态 更新时间:2024-10-28 14:26:04
本文介绍了如何导出带有我自己的模块的模块列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想创建一个基类,每次使用它时都会导出以下模块:

I want to create a Base class that exports the following modules everytime I use it:

use 5.018; use Data::Dumper; use Warning; #etc etc

类似的问题:

  • (2017)导入模块的快捷方式?
  • (2016) Perl导入到我所有的软件包中吗?
  • (2015年)如何将一堆perl模块加载到perl脚本中
  • (2013)每次我编写脚本时,有什么方法可以自动使用"某些模块吗?
  • (2012)如何包含一个包含所有必需的Perl模块名称的文件?
  • (2011年)用一个使用"?
  • (2011)如何制作将My :: defaults与现代perl&一起使用utf8默认吗?
  • (2011)说明方式可以使用"uni :: perl"模块-加载编译指示和其他模块
  • (2011)如何在许多独立脚本之间共享大量模块的导入?
  • (2010年)如何做我可以将程序包导入分组到单个自定义程序包中?
  • (2009)有没有办法使用"单个文件,而该文件又在Perl中使用多个其他文件?
  • (2017) Shortcut to import modules?
  • (2016) Perl import into all my packages?
  • (2015) How to load a bunch of perl modules into a perl script
  • (2013) Is there any way to "auto-use" certain modules everytime I write a script?
  • (2012) How to include a file that contains all the required Perl module names?
  • (2011) How to "use" multiple modules with one "use"?
  • (2011) How to make "use My::defaults" with modern perl & utf8 defaults?
  • (2011) Explanation how to works the "uni::perl" module - loading pragmas and other modules
  • (2011) How to share the import of a large list of modules between many independent scripts?
  • (2010) How do I group my package imports into a single custom package?
  • (2009) Is there a way to "use" a single file that in turn uses multiple others in Perl?
推荐答案

尝试CPAN模块工具集

其他类似的CPAN模块:

  • (2015年) perl5i
  • (2015年)狭窄
  • (2015年)现代:: Perl
  • (2014年) Import :: Into
  • (2012年) uni :: perl
  • (2011年) common :: sense
  • (2011年) rig
  • (2010年) Acme :: Very :: Modern :: Perl
  • (2009年)最新
  • (2005年)工具包
  • (2001年)污染:: Persistent
  • (2015) perl5i
  • (2015) strictures
  • (2015) Modern::Perl
  • (2014) Import::Into
  • (2012) uni::perl
  • (2011) common::sense
  • (2011) rig
  • (2010) Acme::Very::Modern::Perl
  • (2009) latest
  • (2005) Toolkit
  • (2001) Pollute::Persistent

更多推荐

如何导出带有我自己的模块的模块列表?

本文发布于:2023-07-12 07:29:05,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1096863.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:自己的   模块   列表

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!