go ahead... be a heretic | |
PerlMonks |
Re: perl system functionby trizen (Hermit) |
on Mar 07, 2012 at 01:23 UTC ( [id://958192]=note: print w/replies, xml ) | Need Help?? |
There is a newline character at the end of the device name. This issue can be fixed by changing $device = <>; to chomp($device = <STDIN>);.
In Section
Seekers of Perl Wisdom
|
|