To use Perl on Linux, you can normally just type
perl in the terminal. Either alone or followed by the name of the Perl-script to run. If no name is given, you can use it as a simple interpreter.
Code:
$ perl
print "1+2=", 1+2, "\n"
1+2=3
When you've written the print-statement you'll have to interpret it, which is done by pressing CTRL+D, and then the result will show up.