Jul 22, 2016, 7:17 AM
Post #48 of 65
Re: [digioleg54] I am loosing value of my argument
[In reply to]
After I supply values, it goes to program and didn't print queue number even I make pop for it, then go to GetOptions and show the error, which I mention
Your wording in that sentence is a little confusing, but if you use pop before calling GetOptions(), then obviously the value for the last option (presumably the queue option) would be stripped out of the @ARGV array and cause the error message to be generated.
(This post was edited by FishMonger on Jul 22, 2016, 7:18 AM)