Tests an elementary code block from a file, but formatting the shell
script as if it were perl.

.. code_block:: perl
   :file: foo.sh