<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: How much is that repo in the window?</title>
	<atom:link href="http://news.freshports.org/2007/07/06/how-much-is-that-repo-in-the-window/feed/" rel="self" type="application/rss+xml" />
	<link>http://news.freshports.org/2007/07/06/how-much-is-that-repo-in-the-window/</link>
	<description>News and announcements regarding FreshPorts, The Place For Ports.</description>
	<pubDate>Thu, 20 Nov 2008 00:18:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Dan Langille</title>
		<link>http://news.freshports.org/2007/07/06/how-much-is-that-repo-in-the-window/#comment-1434</link>
		<dc:creator>Dan Langille</dc:creator>
		<pubDate>Mon, 09 Jul 2007 20:04:42 +0000</pubDate>
		<guid isPermaLink="false">http://news.freshports.org/2007/07/06/how-much-is-that-repo-in-the-window/#comment-1434</guid>
		<description>I'm thinking that this code can grab the repo name from the cvs-all email.  Any suggested changes?

&lt;pre&gt;
sub GetFreeBSDRepository {
    my ($message) = @_;
    my ($FreeBSDRepository) = 'unknown';

    my (@lines) = split("\n", $message);

    for (@lines) {
        my ($line) = $_;

        if ($line =~ /^  FreeBSD \w+? repository/i) {
            $FreeBSDRepository = (split(" ", $line, 3))[1];
            last;
        }
    }

    return $FreeBSDRepository;
}
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>I&#8217;m thinking that this code can grab the repo name from the cvs-all email.  Any suggested changes?</p>
<pre>
sub GetFreeBSDRepository {
    my ($message) = @_;
    my ($FreeBSDRepository) = 'unknown';

    my (@lines) = split("\n", $message);

    for (@lines) {
        my ($line) = $_;

        if ($line =~ /^  FreeBSD \w+? repository/i) {
            $FreeBSDRepository = (split(" ", $line, 3))[1];
            last;
        }
    }

    return $FreeBSDRepository;
}
</pre>
]]></content:encoded>
	</item>
</channel>
</rss>
