print $value, "\n" if $p;
If the -p switch was used, we print the value of each Perl
command evaluated.
Recall:
- Since Perl was invoked with the
-s option, if psh
is invoked with a -p switch, then $p
has a true value.
$value is a scalar that holds
the value.