Some Monks have given you a better way to use your environmental values, but if you still want to use system command you
have to output something and get it back using backtick if you want it to be stored in a variable, because (perl 's)system return an exit status, not the output of the command eg
my $value = `echo $one/$two`;