Can someone explain the interaction of POSIX ERRNO and PERL scripts? When does ERRNO get set and is it set with each PERL call? I cant seem to track when '$!' is set. Sometimes it will be set to 0, and others 2. I am having difficultly nailing its behavior down.
If there is good reading I am missing, please let me know. Thanks, Jason