Mac Daemons in Perl | 3 | WebReference

Mac Daemons in Perl | 3

Mac Daemons in Perl

In Conclusion

The Future

Matthias Neeracher is busily re-writing MacPerl to take advantage of GUSI2. GUSI is Matthias' Generic Universal Socket Interface, essentially a network socket and POSIX library for the Mac. GUSI2 adds pthreads, and a host of other features which will allow Matthias to finally bring MacPerl into sync with the standard distribution. No word on how far he is from completion. Eventually, the Mac in MacPerl will devolve into an extended set of modules for the Mac Toolbox and Graphics APIs which will run directly over the standard Perl. The above code will likely survive that change, but it will then be possible to write a normal daemon process on the Mac.

About the Author

Brian McNett is Webmaster of Mycoinfo, the world's first mycology e-journal. He's also a regular contributor to Mother of Perl where he keeps things Mac friendly. Please send comments, praises, and sizable cash contributions to [email protected]

Source Code

The full source code to the MacPerl daemon is available at: https://www.motherofperl.com/tutorial/10/macdaemon.pl


https://www.internet.com

Produced by Brian McNett
All Rights Reserved. Legal Notices.
Created: Feb 4, 2000
Revised: Feb 4, 2000

URL: https://www.webreference.com/perl/tutorial/10/3.html