perl.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 07 Jan 2015 20:02:07 +0200
changeset 1662 2fc04c90ddd3
parent 1480 c8f7a7a5c5f8
child 1905 fba288d59662
permissions -rw-r--r--
Introduction to the Standard Directory Layout.

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