Perl Shell - A Solution

$value = eval;

This line evaluates a Perl command/expression and stores its resulting value in $value.

Recall: