in reply to Re: Re: Reading from the screen
in thread Capture output from system commands

The 'qx' keyword is just another way to write the back quote (`). The code -
$n = qx/ $got /;
is equivalent to
$n = `$got`;
What it does is to execute the $got command, and capture its output to a scalar.

You should have a look on CPAN perlop under the section "Quote and Quote-like Operators".

Update: Thanks to ysth to point out my typo.