Sindbad~EG File Manager

Current Path : /proc/1553489/root/usr/share/doc/perl-Test-Simple/t/lib/
Upload File :
Current File : //proc/1553489/root/usr/share/doc/perl-Test-Simple/t/lib/TieOut.pm

package TieOut;

use strict;

sub TIEHANDLE {
    my $scalar = '';
    bless( \$scalar, $_[0] );
}

sub PRINT {
    my $self = shift;
    $$self .= join( '', @_ );
}

sub PRINTF {
    my $self = shift;
    my $fmt  = shift;
    $$self .= sprintf $fmt, @_;
}

sub FILENO { }

sub read {
    my $self = shift;
    my $data = $$self;
    $$self = '';
    return $data;
}

1;

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists