I just converted from using environment variables to using AppConfig. 
Thanks to those who suggested it, it works very well. However, I want to 
do something a bit different. Example:

my $config->AppConfig->new();
$config->define('SUFFIXES=s@');
...
my $suffixes=$config->get('SUFFIXES');
my @suffix = split ' ', join ' ',@$suffixes;
foreach $suffix (@suffix) {
.. code
}

My question desire is to allow the following in the config file:

SUFFIXES=.a .b .c

Unfortunately, without the "split ' ',join ' ',[EMAIL PROTECTED];" line, I get a 
suffix of ".a .b .c" whereas I want ".a", ".b", ".c" as if I had specified
three separate SUFFIXES= lines.

Is there a better way to do this?

--
Maranatha!
John McKown


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to