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>);
.
Comment on
Re: perl system function
Select
or
Download
Code
Replies are listed 'Best First'.
Re^2: perl system function
by
ironside
(Acolyte)
on Mar 07, 2012 at 02:13 UTC
That did the trick. Thank you very much for your help.
[reply]
In Section
Seekers of Perl Wisdom