Other than "well, don't use said drop down list then", what answer do you expect the receive? You don't tell us what comes from the drop down list, and apparently the one runnable example you give, of which you claim writes to the terminal, isn't an example of the problem you're facing.
Please, if you want to have someone of a chance of getting an answer that's useful to you, make your problem self contained. Don't refer to things that are impossible for us to know how they work, and certainly don't mess up working and non-working examples.
Oh, and please, take the few milliseconds and type 'you' instead of 'u', and learn how to use the shift key. | [reply] |
| [reply] |
| [reply] |
I want to know how my given code is working for you?
Uhm, I cut-and-pasted your code, changed the filenames and ran it from the command line?
Else tell me how to pass a perl variable value to Unix command?
I don't understand. Your initial post starts with:
$a=`dd if=/dev/$cmd of=/dev/null bs=4096 count=2 > ddlog.txt 2>&1`;
which passes a variable to the command. But what has that to do with drop down lists, or printing to terminals? | [reply] [d/l] |
Please read and understand How do I post a question effectively?. You only show one line of code and give a poor explanation of the problem. Create a short example which reproduces your problem and post the code here.
| [reply] |