ljr/wcmtools/s2/S2/OutputConsole.pm

30 lines
264 B
Perl
Executable File

#!/usr/bin/perl
#
package S2::OutputConsole;
use strict;
sub new {
my $class = shift;
my $this = {};
bless $this, $class;
}
sub write {
print $_[1];
}
sub writeln {
print $_[1], "\n";
}
sub newline {
print "\n";
}
sub flush { }
1;