>>611
This may or may not work, I have not tested it:
my %banned=map ($_=>1),read_array("filename");
More elegant would be to implement an SQL query that gets the values from the admin table, but that would take actual work.