Karl-Heinz Kuth wrote:

> So the perl script does the following:
> 1) reads the cmd-file

A few sample lines please (or the line format).

> 2) set the env vars

Based on the cmd-file contents ?

> 3) reads the ini-fle

Which uses the stuff from the cmd-file to aid in resolving
some items ?

> 4) set env vars for every entry

Easy part.

> 5) Interpolate the indirection

Also easy if the rules are simple.

Then what ?  Unless the Perl script runs processes as children
that use those env vrbls, setting the env vrbls is useless since
they only apply to children of the script.  Also, given a choice,
I would pass the env vrbls on the commandline rather than using
env vrbls.

        system "some-process BAR_DIR"

rather then setting BAR_DIR env vrbl and

        system "some-process"

-- 
  ,-/-  __      _  _         $Bill Luebkert    Mailto:[EMAIL PROTECTED]
 (_/   /  )    // //       DBE Collectibles    Mailto:[EMAIL PROTECTED]
  / ) /--<  o // //      Castle of Medieval Myth & Magic http://www.todbe.com/
-/-' /___/_<_</_</_    http://dbecoll.tripod.com/ (My Perl/Lakers stuff)
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to