populate perl array from database

Please support our Perl advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Nov 2008
Posts: 35
Reputation: CoolAtt is an unknown quantity at this point 
Solved Threads: 0
CoolAtt's Avatar
CoolAtt CoolAtt is offline Offline
Light Poster

populate perl array from database

 
0
  #1
Jul 10th, 2009
Hi all.

Am using amavis for email scanning but got stuck somewhere in the
configuration file.

I want to add some custom code to populate an array from a postgresql database.

(Amavis and its conf are written in Perl)

Below is part of the configuration file which i want to make dynamic and populate from the database.


  1. blacklist_sender_maps => [ [qw(.example.org .example.net)] ],

Currently, .example.org and .example.net are hardcoded in the conf file

Kindly advise me where should i start.. how should i proceed.
I don't even know if this possible...because am new to Perl

thanks
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC