这个函数比较坑,用它生成Zookeeper的acl,末尾总会多个%0A,正确的应该是以等号结尾。 果断使用chomp把生成的串洗白白~~
引用Net::ZooKeeper这个包,可能会报这个错误Can't load '/usr/local/lib64/perl5/auto/Net/ZooKeeper/ZooKeeper.so' for module Net::ZooKeeper: /usr/local/lib64/perl5/auto/Net/Z
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号