I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2006-11-21 12:19:54-08 by christopher
recurse on load?
I would love to get loading of properties files to "recurse".

For example, a properties file:
------------------------------------
dist.jdbc.hostname=10.87.8.206 dist.jdbc.sid=q60w10t3 dist.jdbc.url=jdbc:oracle:thin:@${dist.jdbc.hostname}:1521:${dist.jdbc.sid}

and this perl code to print that last property:
------------------------------------
$value = $properties->getProperty( "dist.jdbc.url" ); print "dist.jdbc.url=$value\n";

produces this output:
------------------------------------
dist.jdbc.url=jdbc:ws-oracle:thin:@${dist.jdbc.hostname}:1521:${dist.jdbc.sid}

Is there a way to get the definitions within the definitions evaluated? Thanks.
Direct Responses: Write a response