当前位置:网站首页>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边栏推荐
- Talking about Net core how to use efcore to inject multiple instances of a context annotation type for connecting to the master-slave database
- Jump table instance
- 高度剩余法
- Position encoding practice in transformer
- Object.keys()的用法
- System. Currenttimemillis() and system Nanotime (), which is faster? Don't use it wrong!
- Oracle监听器Server端与Client端配置实例
- Detailed process of DC-2 range construction and penetration practice (DC range Series)
- Final consistency of MESI cache in CPU -- why does CPU need cache
- Research Report on market supply and demand and strategy of China's well completion equipment industry
猜你喜欢
[North Asia data recovery] a database data recovery case where the disk on which the database is located is unrecognized due to the RAID disk failure of HP DL380 server
Vscode prompt Please install clang or check configuration 'clang executable‘
Principle and general steps of SQL injection
照明行业S2B2B解决方案:高效赋能产业供应链,提升企业经济效益
Statistical learning: logistic regression and cross entropy loss (pytoch Implementation)
Detailed process of DC-2 range construction and penetration practice (DC range Series)
Model fusion -- stacking principle and Implementation
Object.keys()的用法
《吐血整理》保姆级系列教程-玩转Fiddler抓包教程(2)-初识Fiddler让你理性认识一下
NoSQL之readis配置与优化(终章)
随机推荐
C language: implementation of daffodil number function
Actual combat | use composite material 3 in application
Final consistency of MESI cache in CPU -- why does CPU need cache
DC-2靶场搭建及渗透实战详细过程(DC靶场系列)
The vscode waveform curve prompts that the header file cannot be found (an error is reported if the header file exists)
从数数开始
I let the database lock the table! Almost fired!
Talking about Net core how to use efcore to inject multiple instances of a context annotation type for connecting to the master-slave database
Why do you say that the maximum single table of MySQL database is 20million? Based on what?
Median and order statistics
Accounting regulations and professional ethics [9]
MFC implementation of ACM basic questions encoded by the number of characters
C# 实现 FFT 正反变换 和 频域滤波
表单传递时,如何隐式将值传过去
Application of clock wheel in RPC
Expression #1 of ORDER BY clause is not in SELECT list, references column ‘d.dept_ no‘ which is not i
[Previous line repeated 995 more times]RecursionError: maximum recursion depth exceeded
Overflow: the combination of auto and Felx
Laravel simply realizes Alibaba cloud storage + Baidu AI Cloud image review
Research Report on market supply and demand and strategy of China's plastics and polymer industry