inserting into the script:

use lib "/usr/share/perl5/vendor_perl/AnyEvent/Iml";

also does not change the entry.