perl.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 05 Aug 2015 23:55:34 +0300
changeset 1729 22ffd80639c0
parent 1480 c8f7a7a5c5f8
child 1905 fba288d59662
permissions -rw-r--r--
Make centered content design with adoption for mobile devices. Highlight TOC.

.. -*- 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``).