array error/deprecations from perl