我刚刚安装了Crypt::Random模块以及所有依赖项,例如Math::Pari。Crypt::Random 中有三个例程,我不知道为什么 perl 称它们为“未定义的子例程”。感谢谁知道什么是错的。以下是例程(在模块中特别定义),我为它们选择了小参数以查看它们是否有效:
C:\Users\Jlinne\Documents>perl -MCrypt::Random -E "say makerandom(100)"
Undefined subroutine &main::makerandom called at -e line 1.
C:\Users\Jlinne\Documents>perl -MCrypt::Random -E "say makerandom_itv(1, 1000)"
Undefined subroutine &main::makerandom_itv called at -e line 1.
C:\Users\Jlinne\Documents>perl -MCrypt::Random -E "say makerandom_octet(10)"
Undefined subroutine &main::makerandom_octet called at -e line 1.