home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / xampp / xampp-perl-addon-1.4.9-installer.exe / STDERR.pm < prev    next >
Encoding:
Perl POD Document  |  2002-04-20  |  421 b   |  21 lines

  1. package Apache::ASP::STDERR;
  2.  
  3. # don't know what this code is used for, but keeping
  4. # it around in case I find out!  --jc 4/20/2002
  5.  
  6. use strict;
  7.  
  8. # alias printing to the response object
  9. sub TIEHANDLE { bless { asp => $_[1] }; }
  10. sub PRINT {
  11.     shift->{asp}->Out(@_);
  12. }
  13. sub PRINTF {
  14.     my($self, $format, @list) = @_;   
  15.     my $output = sprintf($format, @list);
  16.     $self->{asp}->Out($output);
  17. }
  18.  
  19. 1;
  20.  
  21.