<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: j1n3l0</title>
    <description>The latest articles on DEV Community by j1n3l0 (@j1n3l0).</description>
    <link>https://dev.to/j1n3l0</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F147709%2F508469bc-88ea-4912-808a-2640e0ecfb91.jpeg</url>
      <title>DEV Community: j1n3l0</title>
      <link>https://dev.to/j1n3l0</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/j1n3l0"/>
    <language>en</language>
    <item>
      <title>Specify a file as the url in your cpanfile</title>
      <dc:creator>j1n3l0</dc:creator>
      <pubDate>Thu, 27 Aug 2020 14:54:40 +0000</pubDate>
      <link>https://dev.to/j1n3l0/specify-a-file-as-the-url-in-your-cpanfile-hk8</link>
      <guid>https://dev.to/j1n3l0/specify-a-file-as-the-url-in-your-cpanfile-hk8</guid>
      <description>&lt;p&gt;Whilst it is not explicitly stated in the &lt;a href="https://metacpan.org/pod/Carton#Specifying-a-CPAN-distribution"&gt;docs&lt;/a&gt;, you can specify a file path as the &lt;code&gt;url&lt;/code&gt; for the dependency in a &lt;code&gt;cpanfile&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight perl"&gt;&lt;code&gt;&lt;span class="nv"&gt;requires&lt;/span&gt; &lt;span class="p"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Module::Name&lt;/span&gt;&lt;span class="p"&gt;",&lt;/span&gt;
  &lt;span class="s"&gt;url&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;file:///path/to/Module-Name-&lt;/span&gt;&lt;span class="si"&gt;${VERSION}&lt;/span&gt;&lt;span class="s2"&gt;.tar.gz&lt;/span&gt;&lt;span class="p"&gt;";&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;This can prove useful if &lt;em&gt;(for example)&lt;/em&gt; you want to test local versions of your own modules and don't have or want a local CPAN mirror.&lt;/p&gt;

</description>
      <category>perl</category>
      <category>cpanfile</category>
    </item>
  </channel>
</rss>
