uandme2k2 has asked for the wisdom of the Perl Monks concerning the following question:
I have another file that provides the variable values...name: File1 =========== Destination/Company=@deploy.company@ Destination/Environment=@deploy.env@ Destination/Location=@deploy.location@ Destination/Domain=@deploy.location@ MIG_GatewayAddresses=@deploy.gwaddress@ MIG_URL=@deploy.mig_url@ Database/URL=@deploy.db_url@ SBU/Domain=@deploy.company@_@deploy.location@
I would like these values to be replaced with in the main file. I have been trying by best but couldnt reach a solution yet. Now I've almost there to sumit my assignment...can you please help? Many thanks in advance...name: File2 ============ deploy.company=ABC deploy.location=BLore deploy.env=DEV deploy.gwaddress=fnet-ayz3z1:18997;fnetzyx3z1:18997 deploy.mig_url=tibjmsnaming\://ldgcomp.abz.net\:25011,tibjmsnaming\:// +ldgcomp.abz.net\:25012 deploy.db_url=jdbc:antsoftware:oracle://ldgcomp.abz.net:1521;SID=devd; +enablecanceltimeout=true
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: config tokens substitutions
by Corion (Patriarch) on Jul 12, 2009 at 19:51 UTC | |
|
Re: config tokens substitutions
by psini (Deacon) on Jul 12, 2009 at 19:52 UTC | |
|
Re: config tokens substitutions
by mzedeler (Pilgrim) on Jul 12, 2009 at 20:26 UTC | |
|
Re: config tokens substitutions
by jwkrahn (Abbot) on Jul 13, 2009 at 00:48 UTC |