当前位置:网站首页>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边栏推荐
- Use and principle of thread pool
- Will the memory of ParticleSystem be affected by maxparticles
- Research Report on market supply and demand and strategy of China's plastics and polymer industry
- Principle and general steps of SQL injection
- Some fields of the crawler that should be output in Chinese are output as none
- Laravel simply realizes Alibaba cloud storage + Baidu AI Cloud image review
- Using celery in projects
- The content of the source code crawled by the crawler is inconsistent with that in the developer mode
- TypeError: list indices must be integers or slices, not str
- How to implicitly pass values when transferring forms
猜你喜欢

TypeError: list indices must be integers or slices, not str

L1-072 scratch lottery

Talking about Net core how to use efcore to inject multiple instances of a context annotation type for connecting to the master-slave database

DIY a low-cost multi-functional dot matrix clock!

A trap used by combinelatest and a debouncetime based solution

基于wifi控制的51单片机温度报警器

Penetration test --- database security: detailed explanation of SQL injection into database principle

Using celery in projects

Talking about Net core how to use efcore to inject multiple instances of a context annotation type for connecting to the master-slave database

Understand asp Net core - Authentication Based on jwtbearer
随机推荐
Research Report on market supply and demand and strategy of China's plastics and polymer industry
Position encoding practice in transformer
Daily notes~
一图看懂ThreadLocal
Vscode prompt Please install clang or check configuration 'clang executable‘
Expression #1 of ORDER BY clause is not in SELECT list, references column ‘d.dept_ no‘ which is not i
Use and principle of thread pool
Anta is actually a technology company? These operations fool netizens
TypeError: not enough arguments for format string
DIY a low-cost multi-functional dot matrix clock!
MFC implementation of ACM basic questions encoded by the number of characters
Sequence diagram data modeling and industrial chain analysis
同构图与异构图CYPHER-TASK设计与TASK锁机制
安信证券排名 网上开户安全吗
Task state rollback and data blocking tasks based on check point mechanism
Accounting regulations and professional ethics [9]
.Net 应用考虑x64生成
Accounting regulations and professional ethics [10]
The content of the source code crawled by the crawler is inconsistent with that in the developer mode
Accounting regulations and professional ethics [8]