Audit all local() calls within lib/ and t/lib
[dbsrgits/DBIx-Class.git] / maint / travis-ci_scripts / 30_before_script.bash
index 71bf162..2a55324 100755 (executable)
@@ -24,8 +24,8 @@ if is_cperl ; then
   export PERL5LIB="$PERL5LIB:."
 
   # Also need to have YAML in place, otherwise the distroprefs are not readable
-  # (cperl 5.22.2 comes with YAML already)
-  perl -M5.022002 -e1 &>/dev/null || installdeps YAML
+  # work around https://github.com/perl11/cperl/issues/155#issuecomment-224862978
+  perl -MYAML -e1 &>/dev/null || installdeps YAML
 
 fi