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

[MacPerl] Redirection of STDOUT



Howdy!

   I'm thinking about various ways that STDOUT can be redirected in 
MacPerl.  What I know about is:

1) To a file
2) To a socket
2) To '>Dev:Printer', via a PAP connection (whatever that is).
3) To '>Dev:Console:WindowName'

   Is that all there is?

   In Unix perl, one can redirect to any pipe, e.g. any other program 
on the computer, but that doesn't, in general work with a Mac.  Would 
the socket family PPC Toolbox substitute for this in some general and 
limited way using Apple Events?

   I was thinking it would be nifty to be able to redirect STDOUT to a 
Perl function, but as I think about it and look through my books, I 
don't see that as an option.  Am I right?

THANKS!

-David-
David Steffen, Ph.D.
President, Biomedical Computing, Inc. <http://www.biomedcomp.com/>
Phone: (713) 610-9770 FAX: (713) 610-9769 E-mail: steffen@biomedcomp.com

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org