| | |
populate perl array from database
Please support our Perl advertiser: Programming Forums - DaniWeb Sister Site
![]() |
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.
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
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.
Perl Syntax (Toggle Plain Text)
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
![]() |
Similar Threads
- How to store a byte array in a database and retrive it back as byte array? (C#)
- want to populate the listbox with msaccess database table data (Visual Basic 4 / 5 / 6)
- how or wat tool must i use to display or populate data from data from the database, (Visual Basic 4 / 5 / 6)
- Auto populate php form array from database? (PHP)
- How to populate a TreeView (C#)
- Code only inserts last value in array into the database (PHP)
- Populate DropDown List from Sql Database (ASP.NET)
Other Threads in the Perl Forum
- Previous Thread: sort files by date
- Next Thread: Connecting to remote server
| Thread Tools | Search this Thread |





