GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Devel::Ditto(3) User Contributed Perl Documentation Devel::Ditto(3)

Devel::Ditto - Identify where print output comes from

This document describes Devel::Ditto version 0.06

  $ 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?

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

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>.

Andy Armstrong "<andy@hexten.net>"

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.

2022-04-08 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.