Use backticks instead of system:
my $out = `eject -n`;
(in case eject is writing to stdout, that is, otherwise redirect stderr to stdout (`eject -n 2>&1`)...)
In reply to Re: Perl System('') question
by almut
in thread Perl System('') question
by renegadex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |