Perl: How to address constants in required packages?

后端 未结 0 1132
南笙
南笙 2021-01-28 14:14

How can I address a constant that is in am module that is imported dynamically?

A.pm

package A;
use constant X => 1;
1;
<
相关标签:
回答
  • 消灭零回复
提交回复
热议问题