Path: utzoo!attcan!telly!eci386!clewis From: clewis@eci386.uucp (Chris Lewis) Newsgroups: comp.lang.perl Subject: Perl "do" bug. Message-ID: <1990Feb7.190655.16030@eci386.uucp> Date: 7 Feb 90 19:06:55 GMT Reply-To: clewis@eci386 (Chris Lewis) Organization: Elegant Communications Inc., Toronto, Canada Lines: 19 When you do 'something'; And "something" isn't in your home directory (though it's directory is in @INC), $! is set to "No such file or directory". Even though perl actually did read the file, $@ is zero/null and definitions set therein can be referenced. Sometimes this appears to depend on the contents of the perl script, but I've not narrowed it down very far. Both Perl 2 and 3. I suspect that this is actually errno being set on the first open attempt (in your home directory), but isn't being reset on a later successful open. Have I missed something? -- Chris Lewis, Elegant Communications Inc, {uunet!attcan,utzoo}!lsuc!eci386!clewis Ferret mailing list: eci386!ferret-list, psroff mailing list: eci386!psroff-list