FYI this is not mod_perl related.

You'll want the IO::String package. If the perl function you
are calling is just printing to the default filehandle (which I'm guessing
it does), you should be able to just 'select' the IO::String object:

  my $str;
  my $str_fh = IO::String->new($str);
  my $old_fh = select($str_fh);

  # call MHonArc or whatever here
  print_stuff()

  # reset default fh to previous value
  select($old_fh) if defined $old_fh;

--Chris


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to