in reply to read the value of variable from environment file and set it to another properties file using perl script
$envline =~/$DOMAIN_DB_CONN_STR=.*:1521:.*/ && $_=~/$DOMAIN_DB_CONN_ST +R=.*:1521:.*/){ # ~ ~
Do you use strict? What do you think the dollar signs mean in a regular expression when followed by letters?
($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: read the value of variable from environment file and set it to another properties file using perl script
by vishallearningperl (Initiate) on Jan 13, 2017 at 16:05 UTC | |
by haukex (Archbishop) on Jan 13, 2017 at 16:08 UTC | |
by vishallearningperl (Initiate) on Jan 13, 2017 at 17:37 UTC |