The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#!/usr/bin/env perl
my $all = shift;

@ARGV = "REPOSITORIES";
@ARGV = "etc/REPOSITORIES" if -e "etc/REPOSITORIES";

while (<>) {
    s/^-/*/ if $ENV{PULL_ALL_ALL} || $all;

    next unless my ($url) = /^\* (.*)/;
    next if $ENV{PULL_ALL_SKIP} && $url =~ $ENV{PULL_ALL_SKIP};

    print "Pulling from $url...\n";
    system("darcs pull --no-set-default $url");
}