当前位置:网站首页>How to "use" Perl modules in directories that are not in @inc- How do I 'use' a Perl module in a directory not in @INC?
How to "use" Perl modules in directories that are not in @inc- How do I 'use' a Perl module in a directory not in @INC?
2022-07-04 16:54:00 【French red wine sweet】
problem :
I have a module in the parent directory of my script and I would like to 'use' it. There is a module in the parent directory of my script , I think “ Use ” it .
If I do If I do
use '../Foo.pm';
I get syntax errors. I received a grammatical error .
I tried to do: I try to do it :
push @INC, '..';use EPMS;
and .. apparently doesn't show up in @INC and .. Obviously not in @INC
I'm going crazy! I'm crazy !What's wrong here? What's the problem here ?
Solution :
Reference resources : https://stackoom.com/en/question/m9i边栏推荐
- Oracle监听器Server端与Client端配置实例
- Can you really use MySQL explain?
- Why do you say that the maximum single table of MySQL database is 20million? Based on what?
- How to contribute to the source code of ongdb core project
- Opencv learning -- arithmetic operation of image of basic operation
- Sequence diagram data modeling and industrial chain analysis
- China tall oil fatty acid market trend report, technical dynamic innovation and market forecast
- Configuration instance of Oracle listener server and client
- 函數式接口,方法引用,Lambda實現的List集合排序小工具
- JS to realize the countdown function
猜你喜欢
Transformer中position encoding实践
Understand Alibaba cloud's secret weapon "dragon architecture" in the article "science popularization talent"
Understand the rate control mode rate control mode CBR, VBR, CRF (x264, x265, VPX)
程序员怎么才能提高代码编写速度?
DIY a low-cost multi-functional dot matrix clock!
Start by counting
Software Engineer vs Hardware Engineer
[Previous line repeated 995 more times]RecursionError: maximum recursion depth exceeded
Statistical learning: logistic regression and cross entropy loss (pytoch Implementation)
Detailed process of DC-2 range construction and penetration practice (DC range Series)
随机推荐
JS to realize the countdown function
Maximum subarray and matrix multiplication
Variable cannot have type 'void'
L1-072 scratch lottery
Research Report on surgical otorhinolaryngology equipment industry - market status analysis and development prospect prediction
[Chongqing Guangdong education] National Open University spring 2019 1396 pharmaceutical administration and regulations (version) reference questions
Market trend report, technical innovation and market forecast of taillight components in China
System. Currenttimemillis() and system Nanotime (), which is faster? Don't use it wrong!
Accounting regulations and professional ethics [8]
Proxifier global agent software, which provides cross platform port forwarding and agent functions
基于check-point实现图数据构建任务
std::shared_ ptr initialization: make_ shared< Foo> () vs shared_ ptr< T> (new Foo) [duplicate]
Object. Usage of keys()
Height residual method
Vscode setting outline shortcut keys to improve efficiency
How to implicitly pass values when transferring forms
TypeError: not enough arguments for format string
Task state rollback and data blocking tasks based on check point mechanism
DC-2靶场搭建及渗透实战详细过程(DC靶场系列)
最大子数组与矩阵乘法