Craig Barratt wrote at about 20:54:50 -0700 on Friday, September 4, 2009: > Davide, > > The basic problem with putting perl expressions in the config file > (to make settings cumulative) is that it isn't compatible with the > CGI config editor. The config editor will get the intended computed > values, but when it re-writes the config file it will just write the > values, not the original expression. >
While the above is certainly true, my guess is that the CGI config editor and those interested in adding PERL to their config scripts address very different use cases. i.e., those who like the cgi interface are probably not going to be interested in playing around with perl code and vica-versa. Even so, I imagine it would be possible to add a text window to the cgi interface that would allow users to append arbitrary code that is executed either at the beginning or end of the config file (or perhaps both). Similarly, perhaps define and add a begin/end comment border that could be put around perl code in the config file to signal the cgi interface not to overwrite it and instead, preserve it in place. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/