Path: utzoo!attcan!uunet!decwrl!ucbvax!bloom-beacon!eru!hagbard!sunic!kth.se!hemuli.tik.vtt.fi!tml From: tml@tik.vtt.fi (Tor Lillqvist) Newsgroups: comp.lang.perl Subject: Re: Predefining machine-dependent subroutines Message-ID: Date: 21 Oct 90 21:10:59 GMT References: <10035@jpl-devvax.JPL.NASA.GOV> Sender: news@hemuli.tik.vtt.fi Distribution: comp Organization: Technical Research Centre of Finland, Laboratory for Information Processing (VTT/TIK) Lines: 16 In-reply-to: lwall@jpl-devvax.JPL.NASA.GOV's message of 19 Oct 90 17:21:26 GMT In article <10035@jpl-devvax.JPL.NASA.GOV> lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) writes: How about this? sub __hp9000s800 { 1; } Sure... However, I was thinking of some way to automagically predefine the same identifiers that the compiler predefines (sun, vax, hpux, __hpux, etc). It probably is too difficult to figure out the appropriate identifiers automatically in the Configure script. Maybe the script simply should suggest a set of identifiers based on its guesses about the system type. -- Tor Lillqvist, working, but not speaking, for the Technical Research Centre of Finland