Use backquotes (or graves, or backticks, or whatever you want to call them). They are usually located to the left of the '1' key on your keyboard. They are on the same key as the tilde: ~
my $output = `eject -n`;
I'm so adjective, I verb nouns!
chomp; # nom nom nom
In reply to Re: Perl System('') question
by Lawliet
in thread Perl System('') question
by renegadex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |