[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] opening and writing to multiple filehandles



To make it as clean as possible, there is an IO::Tee module on CPAN that
ties a filehandle such so that you could do:

  print ONE "something";
  print TWO "something else";
  print BOTH "something more";

Or you could have subroutines as:

  print_one("something");
  print_two("something else");
  print_both("something more");

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])


***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch