perl.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sat, 03 Oct 2015 18:29:10 +0300
changeset 1765 2132765de2f4
parent 1480 c8f7a7a5c5f8
child 1905 fba288d59662
permissions -rw-r--r--
Cellular automaton.

.. -*- coding: utf-8; -*-
.. include:: HEADER.rst

=======
 Perl.
=======
.. contents::

Print stack trace in Perl.
==========================
::

  use Devel::StackTrace;
  my $trace = Devel::StackTrace->new;
  print $trace->as_string; # like carp

Print execution trace in Perl.
==============================

``Devel::Trace`` print out each line before it is executed (like ``sh -x``).