<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Wed, 10 Jun 2026 04:05:43 +0000</lastBuildDate>
    <item>
      <title>(Perl) Print Current Month - numberwhun</title>
      <link>https://snipplr.com/view/44012/print-current-month</link>
      <description>&lt;p&gt;This is a script that simply prints the current month.   I produced this a couple years ago and use it as a reference for using the localtime() function.&lt;/p&gt;</description>
      <pubDate>Fri, 12 Nov 2010 12:19:16 UTC</pubDate>
      <guid>https://snipplr.com/view/44012/print-current-month</guid>
    </item>
    <item>
      <title>(Perl) Find Installed Modules - numberwhun</title>
      <link>https://snipplr.com/view/44009/find-installed-modules</link>
      <description>&lt;p&gt;This is a handy little bit that will show you all of the installed modules on the system.&lt;/p&gt;</description>
      <pubDate>Fri, 12 Nov 2010 11:46:13 UTC</pubDate>
      <guid>https://snipplr.com/view/44009/find-installed-modules</guid>
    </item>
    <item>
      <title>(Perl) Verify if an IPv4 IP address is valid - numberwhun</title>
      <link>https://snipplr.com/view/2801/verify-if-an-ipv4-ip-address-is-valid</link>
      <description>&lt;p&gt;This code will validate not only the four octets contain between 1 and 3 numbers each, but also that the number they contain is between 0 and 255.  &#13;
&#13;
In all, there are 3 different regex's that I tried and all seem to work fine.  The three regex's are:&#13;
&#13;
1.  m/^(\d\d?\d?)\.(\d\d?\d?)\.(\d\d?\d?)\.(\d\d?\d?)/  &#13;
2.  m/\d\d?\d?\.\d\d?\d?\.\d\d?\d?\.\d\d?\d?/&#13;
3.  m/\d{1,2}\.\d{1,3}\.\d{1,3}\.\d{1,3}/&#13;
&#13;
The first one is used below.  Enjoy!!!&lt;/p&gt;</description>
      <pubDate>Tue, 05 Jun 2007 06:55:04 UTC</pubDate>
      <guid>https://snipplr.com/view/2801/verify-if-an-ipv4-ip-address-is-valid</guid>
    </item>
  </channel>
</rss>
