Madam has asked for the wisdom of the Perl Monks concerning the following question:
i.e,if i specify "test1" in the command line,i need to select template2 as template2 contains test1,!test2 (because i have not specified test2 in the command line.) to explain using a tabletemplate1(test1,test2) { variable_1 : input; index_1(" 1.0, 2.0"); index_2(" 1.0, 2.0"); } templat2(test1,!test2) { variable_1 : output; index_1(" 1.0, 2.0"); } template3(!test1,test2) { variable_1 : time; index_2(" 1.0, 2.0"); } template4(!test1,!test2) { variable_1 : time; index_1(" 1.0, 2.0"); }
currently i know how to get the values from command line . i am storing it in an array.but i dont know how to deal with the expression "test1,!test2" (this kind of expression) in the file. -Madamcommand line template selection reason test1 template2 test1 ,no test2 not specified test2 template3 test2 specified test1 not specfied test1,test2 template1 both are specified nothing in command line template4 both are not specified
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: regexp matching issue
by holli (Abbot) on May 17, 2005 at 11:31 UTC | |
|
Re: regexp matching issue
by prasadbabu (Prior) on May 17, 2005 at 11:48 UTC | |
|
Re: regexp matching issue
by radiantmatrix (Parson) on May 17, 2005 at 15:42 UTC |