Accessing Getopt::Long valuesby kcott (Abbot)
|on Mar 25, 2013 at 05:43 UTC||Need Help??|
This looks like a simple assignment to me:
Here it is in action:
Depending on where you do the assignment, you may want:
The only place in your posted code that you mention $master_conf is in what appears to be a standalone piece of code with no obvious connection to other parts of your script:
Where were you intending to declare this variable? Where were you intending to assign it a value? I suspect one problem you have here is that you can't see the wood for the trees: probably 80% of the code you've posted has nothing to do with the issue at hand. Try making a simple, cut-down version of the script; when that's working, add in more complexity.
From the code you've posted, my best guess as to what you want is something like this: