- or download this
sub filter {
my $file = shift;
...
s/BASEURL=// and return qq|<li><a href="$_">$_</a></li>\n|;
}
}
- or download this
sub expand {
map { bsd_glob($_) } @_;
}
- or download this
print "<ul>\n", map { filter($_) } map { bsd_glob($_) } @ARGV, "\n";