# Older Perl version stopped working

**URL:** <https://travis-ci.community/t/older-perl-version-stopped-working/4294>\
**Category:** Perl\
**Tags:** bug\
**Created:** [July 20, 2019, 2:19pm UTC](https://travis-ci.community/t/older-perl-version-stopped-working/4294 "2019-07-20T14:19:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![klenin](https://avatars.discourse-cdn.com/v4/letter/k/3ec8ea/32.png) [@klenin](https://travis-ci.community/u/klenin)\
**Post date:** [July 20, 2019, 2:19pm UTC](https://travis-ci.community/t/older-perl-version-stopped-working/4294/1 "2019-07-20T14:19:12Z")

</div>

See e.g.

[https://travis-ci.org/klenin/cats-problem/jobs/560916865](https://travis-ci.org/klenin/cats-problem/jobs/560916865)

Files like  
[https://storage.googleapis.com/travis-ci-language-archives/perl/binaries/ubuntu/16.04/x86\_64/perl-5.20.tar.bz2](https://storage.googleapis.com/travis-ci-language-archives/perl/binaries/ubuntu/16.04/x86_64/perl-5.20.tar.bz2)  
are not available any more for some reason.

---

<div class="post-metadata">

**Author:** ![jayvdb](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/jayvdb/32/1966_2.png) [@jayvdb](https://travis-ci.community/u/jayvdb)\
**Post date:** [July 20, 2019, 4:39pm UTC](https://travis-ci.community/t/older-perl-version-stopped-working/4294/2 "2019-07-20T16:39:53Z")

</div>

See [Failure with Perl 5.16, 5.18 & 5.20](https://travis-ci.community/t/failure-with-perl-5-16-5-18-5-20/2458)

Likely caused by `dist: xenial` becoming the implicit default, and you need to add `dist: trusty` to regain access to those old versions of perl.

---

<div class="post-metadata">

**Author:** ![klenin](https://avatars.discourse-cdn.com/v4/letter/k/3ec8ea/32.png) [@klenin](https://travis-ci.community/u/klenin)\
**Post date:** [July 21, 2019, 12:47pm UTC](https://travis-ci.community/t/older-perl-version-stopped-working/4294/3 "2019-07-21T12:47:15Z")

</div>

This helped, thanks

---

<div class="post-metadata">

**Author:** ![dominic](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/dominic/32/14_2.png) [@dominic](https://travis-ci.community/u/dominic)\
**Post date:** [August 13, 2019, 5:24pm UTC](https://travis-ci.community/t/older-perl-version-stopped-working/4294/4 "2019-08-13T17:24:37Z")

</div>

Just wanted to mention that, as @jayvdb said, it’s most probably a side-effect of the migration to Xenial as our default distribution.

We have also updated on Xenial documentation to mention which Perl versions are supported. See [https://docs.travis-ci.com/user/reference/xenial#perl-support](https://docs.travis-ci.com/user/reference/xenial#perl-support).

Hope this helps!
