~ubuntu-branches/ubuntu/trusty/libhtml-widgets-navmenu-perl/trusty

« back to all changes in this revision

Viewing changes to t/lib/HTML/Widgets/NavMenu/Test/Stdout.pm

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Yu, Jonathan Yu, Ryan Niebur, gregor herrmann
  • Date: 2009-12-09 18:35:53 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20091209183553-5ud0ofdv4ek4e6i3
Tags: 1.0400-1
[ Jonathan Yu ]
* New upstream release
* Add myself to Uploaders and Copyright
* Remove liberror-perl dependency (no longer required upstream)
* Refresh copyright to DEP5 proposed format

[ Ryan Niebur ]
* Update ryan52's email address

[ gregor herrmann ]
* debian/copyright: update years of upstream copyright.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
use strict;
 
2
use warnings;
 
3
 
 
4
use IO::Scalar;
 
5
 
 
6
open SAVEOUT, ">&STDOUT";
 
7
print SAVEOUT "";
 
8
 
 
9
my $buffer = "";
 
10
 
 
11
tie *STDOUT, 'IO::Scalar', \$buffer;
 
12
 
 
13
sub reset_out_buffer
 
14
{
 
15
    $buffer = "";
 
16
}
 
17
 
 
18
sub get_out_buffer
 
19
{
 
20
    return $buffer;
 
21
}
 
22
 
 
23
1;
 
24