Home Forums All Things Catholic How many saints are there? Reply To: How many saints are there?

#7375
Anonymous
Inactive

Yes, in a manner of speaking. I had the computer count them:

[code:htszz88u]#!/usr/bin/perl

use strict;

my %saints;

for(’A’..’Z’)
{
my $page = `wget -O – http://www.catholic.org/saints/stindex.php?lst=$_`;
while($page =~ s/saint.php?saint_id=(d+)//)
{
$saints{$1} = 1;
}
}

print scalar(keys(%saints))."n";
[/code:htszz88u]