<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Perl on MarkJacobsen.net</title><link>https://test.markjacobsen.net/categories/perl/</link><description>Recent content in Perl on MarkJacobsen.net</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Thu, 25 Feb 2016 19:12:00 +0000</lastBuildDate><atom:link href="https://test.markjacobsen.net/categories/perl/index.xml" rel="self" type="application/rss+xml"/><item><title>How to find and replace text in a string using Perl</title><link>https://test.markjacobsen.net/2016/02/how-to-find-and-replace-text-in-a-string-using-perl/</link><pubDate>Thu, 25 Feb 2016 19:12:00 +0000</pubDate><guid>https://test.markjacobsen.net/2016/02/how-to-find-and-replace-text-in-a-string-using-perl/</guid><description>&lt;p&gt;To replace specific text in a string with other text, using perl, the syntax is…&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$fullString =~ s/$findString/$replaceString/;
&lt;/code&gt;&lt;/pre&gt;</description></item><item><title>How to tell if a Perl Module is Installed</title><link>https://test.markjacobsen.net/2013/11/how-to-tell-if-a-perl-module-is-installed/</link><pubDate>Mon, 04 Nov 2013 21:55:50 +0000</pubDate><guid>https://test.markjacobsen.net/2013/11/how-to-tell-if-a-perl-module-is-installed/</guid><description>&lt;p&gt;Want to check if a perl module is installed on your system? There’s a oneliner for that! Here’s an example…&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;perl -e &amp;quot;use Text::CSV&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;… which would of course check if Text::CSV could be loaded. If it can, nothing will be printed. If not, you’ll get an error with some possibly useful information to figuring out why not.&lt;/p&gt;</description></item></channel></rss>