Index: BOOK/final-system/common/perl.xml
===================================================================
--- BOOK/final-system/common/perl.xml	(revision 513fe6ed96a0eb484055d36be946729dee1916a7)
+++ BOOK/final-system/common/perl.xml	(revision a74a2bede146f019c34b047f55b7baa82180bb53)
@@ -58,5 +58,6 @@
     -Dman3dir=/usr/share/man/man3 \
     -Dpager="/bin/less -isR" \
-    -Dusethreads -Duseshrplib</userinput></screen>
+    -Dusethreads \
+    -Duseshrplib</userinput></screen>
 
     <variablelist os="c">
Index: BOOK/final-system/multilib/perl-64bit.xml
===================================================================
--- BOOK/final-system/multilib/perl-64bit.xml	(revision 513fe6ed96a0eb484055d36be946729dee1916a7)
+++ BOOK/final-system/multilib/perl-64bit.xml	(revision a74a2bede146f019c34b047f55b7baa82180bb53)
@@ -54,5 +54,6 @@
     -Dlibpth="/usr/local/lib64 /lib64 /usr/lib64" \
     -Dcc="gcc ${BUILD64}" \
-    -Dusethreads -Duseshrplib</userinput></screen>
+    -Dusethreads \
+    -Duseshrplib</userinput></screen>
 
     <variablelist os="m4">
Index: BOOK/final-system/multilib/perl-n32.xml
===================================================================
--- BOOK/final-system/multilib/perl-n32.xml	(revision 513fe6ed96a0eb484055d36be946729dee1916a7)
+++ BOOK/final-system/multilib/perl-n32.xml	(revision a74a2bede146f019c34b047f55b7baa82180bb53)
@@ -57,5 +57,6 @@
     -Dlibpth="/usr/local/lib32 /lib32 /usr/lib32" \
     -Dcc="gcc ${BUILDN32}" \
-    -Dusethreads -Duseshrplib</userinput></screen>
+    -Dusethreads \
+    -Duseshrplib</userinput></screen>
 
     <variablelist os="m4">
Index: BOOK/final-system/multilib/perl.xml
===================================================================
--- BOOK/final-system/multilib/perl.xml	(revision 513fe6ed96a0eb484055d36be946729dee1916a7)
+++ BOOK/final-system/multilib/perl.xml	(revision a74a2bede146f019c34b047f55b7baa82180bb53)
@@ -54,5 +54,6 @@
     -Dpager="/bin/less -isR" \
     -Dcc="gcc ${BUILD32}" \
-    -Dusethreads -Duseshrplib</userinput></screen>
+    -Dusethreads \
+    -Duseshrplib</userinput></screen>
 
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
Index: BOOK/introduction/common/changelog.xml
===================================================================
--- BOOK/introduction/common/changelog.xml	(revision 513fe6ed96a0eb484055d36be946729dee1916a7)
+++ BOOK/introduction/common/changelog.xml	(revision a74a2bede146f019c34b047f55b7baa82180bb53)
@@ -40,4 +40,10 @@
       <itemizedlist>
         <listitem>
+          <para>[William Harrington] - Upgrade Perl to 5.24.1. Fixes
+          ticket <ulink url="&clfs-ticket-root;1035">#1035.</ulink></para> 
+        </listitem>
+      </itemizedlist>
+      <itemizedlist>
+        <listitem>
           <para>[William Harrington] - Upgrade Binutils to 2.28. Fixes
           ticket <ulink url="&clfs-ticket-root;1108">#1108.</ulink></para> 
Index: BOOK/packages.ent
===================================================================
--- BOOK/packages.ent	(revision 513fe6ed96a0eb484055d36be946729dee1916a7)
+++ BOOK/packages.ent	(revision a74a2bede146f019c34b047f55b7baa82180bb53)
@@ -382,8 +382,8 @@
 <!ENTITY patch-home "http://savannah.gnu.org/projects/patch">
 
-<!ENTITY perl-version "5.20.1">
-<!ENTITY perl-size "13,676 KB">
+<!ENTITY perl-version "5.24.1">
+<!ENTITY perl-size "11,569 KB">
 <!ENTITY perl-url "http://www.cpan.org/src/5.0/perl-&perl-version;.tar.bz2">
-<!ENTITY perl-md5 "ede5166f949d9a07163bc5b086be9759">
+<!ENTITY perl-md5 "af6a84c7c3e2b8b269c105a5db2f6d53">
 <!ENTITY perl-home "https://www.perl.org">
 
Index: BOOK/patches.ent
===================================================================
--- BOOK/patches.ent	(revision 513fe6ed96a0eb484055d36be946729dee1916a7)
+++ BOOK/patches.ent	(revision a74a2bede146f019c34b047f55b7baa82180bb53)
@@ -77,6 +77,6 @@
 
 <!ENTITY perl-multilib-patch "perl-&perl-version;-Configure_multilib-1.patch">
-<!ENTITY perl-multilib-patch-md5 "7a2893356fb80871d6e766900c278a52">
-<!ENTITY perl-multilib-patch-size "2.000 KB">
+<!ENTITY perl-multilib-patch-md5 "e2807bb83fffee133cea2232262937ac">
+<!ENTITY perl-multilib-patch-size "2.030 KB">
 
 <!-- Start of Pure64 patches -->
Index: tches/perl-5.20.1-Configure_multilib-1.patch
===================================================================
--- patches/perl-5.20.1-Configure_multilib-1.patch	(revision 513fe6ed96a0eb484055d36be946729dee1916a7)
+++ 	(revision )
@@ -1,48 +1,0 @@
-Submitted By: William Harrington <kb0iic at cross-lfs dot org>
-Date: 2014-10-25
-Initial Package Version: 5.12.0
-Origin: Cross-LFS
-Upstream Status: Not Applied - Internal to CLFS
-Description: This patch allows perl to be installed in /usr/lib32
-             or /usr/lib64 instead of /usr/lib.
-
-Comments: Renamed for 5.20.1
-
-diff -Naur perl-5.20.0.orig/Configure perl-5.20.0/Configure
---- perl-5.20.0.orig/Configure	2014-05-26 13:34:18.000000000 +0000
-+++ perl-5.20.0/Configure	2014-05-30 01:43:45.621522372 +0000
-@@ -1359,6 +1359,7 @@
- glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib"
- test -f /usr/shlib/libc.so && glibpth="/usr/shlib $glibpth"
- test -f /shlib/libc.so     && glibpth="/shlib $glibpth"
-+test -d /usr/lib32         && glibpth="$glibpth /lib32 /usr/lib32 /usr/local/lib32"
- test -d /usr/lib64         && glibpth="$glibpth /lib64 /usr/lib64 /usr/local/lib64"
- 
- : Private path used by Configure to find libraries.  Its value
-@@ -6500,6 +6501,8 @@
- : The default "style" setting is made in installstyle.U
- case "$installstyle" in
- *lib/perl5*) set dflt privlib lib/$package/$version ;;
-+*lib32/perl5*) set dflt privlib lib32/$package/$version ;;
-+*lib64/perl5*) set dflt privlib lib64/$package/$version ;;
- *)	 set dflt privlib lib/$version ;;
- esac
- eval $prefixit
-@@ -6748,6 +6751,8 @@
- case "$sitelib" in
- '') case "$installstyle" in
- 	*lib/perl5*) dflt=$siteprefix/lib/$package/site_$prog/$version ;;
-+	*lib32/perl5*) dflt=$witeprefix/lib32/$package/site_$prog/$version ;;
-+	*lib64/perl5*) dflt=$siteprefix/lib64/$package/site_$prog/$version ;;
- 	*)	 dflt=$siteprefix/lib/site_$prog/$version ;;
- 	esac
- 	;;
-@@ -7166,6 +7171,8 @@
- 		prog=`echo $package | $sed 's/-*[0-9.]*$//'`
- 		case "$installstyle" in
- 		*lib/perl5*) dflt=$vendorprefix/lib/$package/vendor_$prog/$version ;;
-+		*lib32/perl5*) dflt=$vendorprefix/lib32/$package/vendor_$prog/$version ;;
-+		*lib64/perl5*) dflt=$vendorprefix/lib64/$package/vendor_$prog/$version ;;
- 		*)	     dflt=$vendorprefix/lib/vendor_$prog/$version ;;
- 		esac
- 		;;
Index: patches/perl-5.24.1-Configure_multilib-1.patch
===================================================================
--- patches/perl-5.24.1-Configure_multilib-1.patch	(revision a74a2bede146f019c34b047f55b7baa82180bb53)
+++ patches/perl-5.24.1-Configure_multilib-1.patch	(revision a74a2bede146f019c34b047f55b7baa82180bb53)
@@ -0,0 +1,48 @@
+Submitted By: William Harrington <kb0iic at cross-lfs dot org>
+Date: 2017-05-14
+Initial Package Version: 5.12.0
+Origin: Cross-LFS
+Upstream Status: Not Applied - Internal to CLFS
+Description: This patch allows perl to be installed in /usr/lib32
+             or /usr/lib64 instead of /usr/lib.
+
+Comments: Renamed for 5.24.1
+
+diff -Naur perl-5.20.0.orig/Configure perl-5.20.0/Configure
+--- perl-5.20.0.orig/Configure	2014-05-26 13:34:18.000000000 +0000
++++ perl-5.20.0/Configure	2014-05-30 01:43:45.621522372 +0000
+@@ -1359,6 +1359,7 @@
+ glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib"
+ test -f /usr/shlib/libc.so && glibpth="/usr/shlib $glibpth"
+ test -f /shlib/libc.so     && glibpth="/shlib $glibpth"
++test -d /usr/lib32         && glibpth="$glibpth /lib32 /usr/lib32 /usr/local/lib32"
+ test -d /usr/lib64         && glibpth="$glibpth /lib64 /usr/lib64 /usr/local/lib64"
+ 
+ : Private path used by Configure to find libraries.  Its value
+@@ -6500,6 +6501,8 @@
+ : The default "style" setting is made in installstyle.U
+ case "$installstyle" in
+ *lib/perl5*) set dflt privlib lib/$package/$version ;;
++*lib32/perl5*) set dflt privlib lib32/$package/$version ;;
++*lib64/perl5*) set dflt privlib lib64/$package/$version ;;
+ *)	 set dflt privlib lib/$version ;;
+ esac
+ eval $prefixit
+@@ -6748,6 +6751,8 @@
+ case "$sitelib" in
+ '') case "$installstyle" in
+ 	*lib/perl5*) dflt=$siteprefix/lib/$package/site_$prog/$version ;;
++	*lib32/perl5*) dflt=$witeprefix/lib32/$package/site_$prog/$version ;;
++	*lib64/perl5*) dflt=$siteprefix/lib64/$package/site_$prog/$version ;;
+ 	*)	 dflt=$siteprefix/lib/site_$prog/$version ;;
+ 	esac
+ 	;;
+@@ -7166,6 +7171,8 @@
+ 		prog=`echo $package | $sed 's/-*[0-9.]*$//'`
+ 		case "$installstyle" in
+ 		*lib/perl5*) dflt=$vendorprefix/lib/$package/vendor_$prog/$version ;;
++		*lib32/perl5*) dflt=$vendorprefix/lib32/$package/vendor_$prog/$version ;;
++		*lib64/perl5*) dflt=$vendorprefix/lib64/$package/vendor_$prog/$version ;;
+ 		*)	     dflt=$vendorprefix/lib/vendor_$prog/$version ;;
+ 		esac
+ 		;;
