Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Devel::Ditto(3)	      User Contributed Perl Documentation      Devel::Ditto(3)

NAME
       Devel::Ditto - Identify where print output comes	from

VERSION
       This document describes Devel::Ditto version 0.06

SYNOPSIS
	 $ perl	-MDevel::Ditto myprog.pl
	 [main,	t/myprog.pl, 9]	This is	regular	text
	 [main,	t/myprog.pl, 10] This is a warning
	 [MyPrinter, t/lib/MyPrinter.pm, 7] Hello, World
	 [MyPrinter, t/lib/MyPrinter.pm, 8] Whappen?

DESCRIPTION
       Sometimes it's hard to work out where some printed output is coming
       from. This module ties STDOUT and STDERR	such that each call to "print"
       or "warn" will have its output prefixed with the	package, file and line
       of the "print" or "warn"	statement.

       Load it in your program:

	 use Devel::Ditto;

       or from the command line:

	 perl -MDevel::Ditto myprog.pl

BUGS AND LIMITATIONS
       No bugs have been reported.

       Please report any bugs or feature requests to
       "bug-devel-Ditto@rt.cpan.org", or through the web interface at
       <http://rt.cpan.org>.

AUTHOR
       Andy Armstrong  "<andy@hexten.net>"

LICENCE	AND COPYRIGHT
       Copyright (c) 2009, Andy	Armstrong "<andy@hexten.net>".

       This module is free software; you can redistribute it and/or modify it
       under the same terms as Perl itself. See	perlartistic.

perl v5.24.1			  2017-07-02		       Devel::Ditto(3)

NAME | VERSION | SYNOPSIS | DESCRIPTION | BUGS AND LIMITATIONS | AUTHOR | LICENCE AND COPYRIGHT

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Devel::Ditto&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help