in reply to
perl system function
There is a newline character at the end of the device name.This issue can be fixed by changing $device = <>; to chomp($device = <STDIN>);.
That did the trick. Thank you very much for your help.
Use two parentheses: (Like this: :) )
Use one parenthesis: (Like this: :)
Reverse direction of the smiley: (Like this: (: )
Use angle/square brackets instead of parentheses
Use C-style commenting to set the smiley off from the closing parenthesis
Make the smiley a dunce: (:>
I disapprove of emoticons
Results (161 votes),