{"id":22221,"date":"2014-08-20T08:30:55","date_gmt":"2014-08-20T13:30:55","guid":{"rendered":"http:\/\/blog.cpanel.net\/?p=22221"},"modified":"2014-08-20T08:30:55","modified_gmt":"2014-08-20T13:30:55","slug":"bro-code-514-a-bro-always-updates-his-custom-perl-modules","status":"publish","type":"post","link":"https:\/\/devel.www.cpanel.net\/blog\/products\/bro-code-514-a-bro-always-updates-his-custom-perl-modules\/","title":{"rendered":"Bro Code #514 – A Bro Always Updates His Custom Perl Modules"},"content":{"rendered":"

If you use custom code on your cPanel & WHM servers, please read this message! Without further action on your part, your custom code may break in cPanel & WHM version 11.46.<\/strong><\/p>\n


\nIn version 11.46, cPanel & WHM will ship with binaries that we have compiled against Perl version 5.14.4. Previously, code that was compiled against cPanel binaries used Perl 5.6. Because of this, the upgrade to Perl 5.14.4\u00a0will have a direct effect on any custom Perl code that you execute from cPanel binaries. It is extremely important that you test your plugins and hook code against Perl 5.14.4 to be certain that it continues to work correctly.<\/p>\n

You can find an instance of Perl 5.14 on your cPanel & WHM servers in the following location:
\n\/usr\/local\/cpanel\/3rdparty\/bin\/perl<\/code><\/p>\n

For more information about Perl on cPanel & WHM servers, read our\u00a0Perl Environments and Modules<\/a>\u00a0documentation.<\/p>\n

Custom modules<\/h2>\n

Custom modules that you previously compiled with the buildperl system<\/a>\u00a0will\u00a0not<\/strong>\u00a0function properly in cPanel & WHM version 11.46 because the module was built against an older version of Perl.\u00a0However, before you recompile all of your modules, you should check whether cPanel & WHM will already include your modules in version 11.46. We have added many modules to the\u00a0list of modules that cPanel ships<\/a>, and expect that cPanel & WHM will now ship with the majority of the modules that developers built with this tool.<\/p>\n

To test whether the module that you need already ships with cPanel & WHM, run the following command:
\n\/usr\/local\/cpanel\/3rdparty\/bin\/perl -MMy::Module -E'say $My::Module::VERSION'<\/code><\/p>\n

For example, LWP is a common module that was compiled against buildperl. cPanel & WHM already ships with LWP version 6.05 with Perl 5.14, as shown by the following command and its output:
\n\/usr\/local\/cpanel\/3rdparty\/bin\/perl -MLWP -E'say $LWP::VERSION'
\n6.05<\/code><\/p>\n

Tell us! Tell us! Tell us!<\/h2>\n

If you discover that cPanel & WHM does not ship with a common CPAN module that you need, let us know. While it is possible to install custom modules to the \/opt\/cpanel\/perl5\/514\/site_lib library with the \/usr\/local\/cpanel\/3rdparty\/perl\/514\/bin\/cpan command, doing so will cause you further problems down the road, when cPanel switches to an even newer version of Perl. We would much rather ship your custom modules for you, and manage their updates, than force our customers to recompile modules themselves!\u00a0Please tell us<\/strong> which CPAN modules that you would like us to ship by either leaving us a comment here or sending an email to\u00a0integration@cpanel.net<\/a>.<\/p>\n

We expect to have a production release of cPanel & WHM version 11.46 ready in October 2014.\u00a0If you would like to get access to an early release of this change, we expect to ship one in September 2014. To receive announcements about this early release, subscribe to our EDGE users mailing list<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"

If you use custom code on your cPanel & WHM servers, please read this message! Without further action on your part, your custom code may break in cPanel & WHM version 11.46.<\/p>\n","protected":false},"author":77,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[49],"tags":[973,429,45],"class_list":["post-22221","post","type-post","status-publish","format-standard","hentry","category-products","tag-11-46","tag-perl","tag-proddevsec"],"acf":[],"yoast_head":"\nBro Code #514 - A Bro Always Updates His Custom Perl Modules | cPanel<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/devel.www.cpanel.net\/blog\/products\/bro-code-514-a-bro-always-updates-his-custom-perl-modules\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bro Code #514 - A Bro Always Updates His Custom Perl Modules | cPanel\" \/>\n<meta property=\"og:description\" content=\"If you use custom code on your cPanel & WHM servers, please read this message! Without further action on your part, your custom code may break in cPanel & WHM version 11.46.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/devel.www.cpanel.net\/blog\/products\/bro-code-514-a-bro-always-updates-his-custom-perl-modules\/\" \/>\n<meta property=\"og:site_name\" content=\"cPanel\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/cpanel\/\" \/>\n<meta property=\"article:published_time\" content=\"2014-08-20T13:30:55+00:00\" \/>\n<meta name=\"author\" content=\"cPanel Community\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@cPanel\" \/>\n<meta name=\"twitter:site\" content=\"@cPanel\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"cPanel Community\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/devel.www.cpanel.net\/blog\/products\/bro-code-514-a-bro-always-updates-his-custom-perl-modules\/\",\"url\":\"https:\/\/devel.www.cpanel.net\/blog\/products\/bro-code-514-a-bro-always-updates-his-custom-perl-modules\/\",\"name\":\"Bro Code #514 - A Bro Always Updates His Custom Perl Modules | cPanel\",\"isPartOf\":{\"@id\":\"https:\/\/devel.www.cpanel.net\/#website\"},\"datePublished\":\"2014-08-20T13:30:55+00:00\",\"dateModified\":\"2014-08-20T13:30:55+00:00\",\"author\":{\"@id\":\"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/8cf97408aad4fb70cf55d11a1d4f57f8\"},\"breadcrumb\":{\"@id\":\"https:\/\/devel.www.cpanel.net\/blog\/products\/bro-code-514-a-bro-always-updates-his-custom-perl-modules\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/devel.www.cpanel.net\/blog\/products\/bro-code-514-a-bro-always-updates-his-custom-perl-modules\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/devel.www.cpanel.net\/blog\/products\/bro-code-514-a-bro-always-updates-his-custom-perl-modules\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/devel.www.cpanel.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Bro Code #514 – A Bro Always Updates His Custom Perl Modules\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/devel.www.cpanel.net\/#website\",\"url\":\"https:\/\/devel.www.cpanel.net\/\",\"name\":\"cPanel\",\"description\":\"Hosting Platform of Choices\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/devel.www.cpanel.net\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/8cf97408aad4fb70cf55d11a1d4f57f8\",\"name\":\"cPanel Community\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e1949945083b5526bb95711bd3d616b3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e1949945083b5526bb95711bd3d616b3?s=96&d=mm&r=g\",\"caption\":\"cPanel Community\"},\"description\":\"The web hosting industry's most reliable management solution since 1997. With our first-class support and rich feature set, it's easy to see why our customers and partners make cPanel & WHM their hosting platform of choice. For more information, visit cPanel.net.\",\"sameAs\":[\"https:\/\/cpanel.net\"],\"url\":\"https:\/\/devel.www.cpanel.net\/blog\/author\/cpadmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Bro Code #514 - A Bro Always Updates His Custom Perl Modules | cPanel","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/devel.www.cpanel.net\/blog\/products\/bro-code-514-a-bro-always-updates-his-custom-perl-modules\/","og_locale":"en_US","og_type":"article","og_title":"Bro Code #514 - A Bro Always Updates His Custom Perl Modules | cPanel","og_description":"If you use custom code on your cPanel & WHM servers, please read this message! Without further action on your part, your custom code may break in cPanel & WHM version 11.46.","og_url":"https:\/\/devel.www.cpanel.net\/blog\/products\/bro-code-514-a-bro-always-updates-his-custom-perl-modules\/","og_site_name":"cPanel","article_publisher":"https:\/\/www.facebook.com\/cpanel\/","article_published_time":"2014-08-20T13:30:55+00:00","author":"cPanel Community","twitter_card":"summary_large_image","twitter_creator":"@cPanel","twitter_site":"@cPanel","twitter_misc":{"Written by":"cPanel Community","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/devel.www.cpanel.net\/blog\/products\/bro-code-514-a-bro-always-updates-his-custom-perl-modules\/","url":"https:\/\/devel.www.cpanel.net\/blog\/products\/bro-code-514-a-bro-always-updates-his-custom-perl-modules\/","name":"Bro Code #514 - A Bro Always Updates His Custom Perl Modules | cPanel","isPartOf":{"@id":"https:\/\/devel.www.cpanel.net\/#website"},"datePublished":"2014-08-20T13:30:55+00:00","dateModified":"2014-08-20T13:30:55+00:00","author":{"@id":"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/8cf97408aad4fb70cf55d11a1d4f57f8"},"breadcrumb":{"@id":"https:\/\/devel.www.cpanel.net\/blog\/products\/bro-code-514-a-bro-always-updates-his-custom-perl-modules\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/devel.www.cpanel.net\/blog\/products\/bro-code-514-a-bro-always-updates-his-custom-perl-modules\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/devel.www.cpanel.net\/blog\/products\/bro-code-514-a-bro-always-updates-his-custom-perl-modules\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/devel.www.cpanel.net\/"},{"@type":"ListItem","position":2,"name":"Bro Code #514 – A Bro Always Updates His Custom Perl Modules"}]},{"@type":"WebSite","@id":"https:\/\/devel.www.cpanel.net\/#website","url":"https:\/\/devel.www.cpanel.net\/","name":"cPanel","description":"Hosting Platform of Choices","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/devel.www.cpanel.net\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/8cf97408aad4fb70cf55d11a1d4f57f8","name":"cPanel Community","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e1949945083b5526bb95711bd3d616b3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e1949945083b5526bb95711bd3d616b3?s=96&d=mm&r=g","caption":"cPanel Community"},"description":"The web hosting industry's most reliable management solution since 1997. With our first-class support and rich feature set, it's easy to see why our customers and partners make cPanel & WHM their hosting platform of choice. For more information, visit cPanel.net.","sameAs":["https:\/\/cpanel.net"],"url":"https:\/\/devel.www.cpanel.net\/blog\/author\/cpadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/posts\/22221"}],"collection":[{"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/users\/77"}],"replies":[{"embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/comments?post=22221"}],"version-history":[{"count":0,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/posts\/22221\/revisions"}],"wp:attachment":[{"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/media?parent=22221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/categories?post=22221"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/tags?post=22221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}