The advice given by the other folks here is good, but I'd like to suggest using an alternate operator provided by Perl for just this purpose. Backticks are easily misread as single-quotes, so using this improves readability:
my $output = qx#/usr/bin/eject -n#;
See perldoc perlop for more info about 'qx'.
In reply to Re: Perl System('') question
by oko1
in thread Perl System('') question
by renegadex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |