in reply to Re^3: Adding DD Unix command in Perl
in thread Adding DD Unix command in Perl

I want to know how my given code is working for you? Else tell me how to pass a perl variable value to Unix command?

Replies are listed 'Best First'.
Re^5: Adding DD Unix command in Perl
by JavaFan (Canon) on Dec 09, 2011 at 21:57 UTC
    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?