in reply to RE: Re: Modules vs. Libraries
in thread Modules vs. Libraries

Eh? I thought $^O worked on Win32 with at least 5.005_3 and up, if not even earlier. It certainly works with 5.6.0.

Incidentally, I don't see the code you mentioned, but I assume it uses Config.pm (ie, $Config{archname}).

Replies are listed 'Best First'.
RE: Re: Modules vs. Libraries
by Intrepid (Curate) on Jun 28, 2000 at 22:15 UTC

    Eh? I thought $^O worked on Win32 with at least 5.005_3 and up, if not even earlier. It certainly works with 5.6.0.
    Incidentally, I don't see the code you mentioned, but I assume it uses Config.pm (ie, $Config{archname}).
    if ("Win32" ne  "WinNT")  {
     @Win32 = ("Win95","Win98","Win2000","WinNT");
    }
    

    Sorry, the code snippet I refer to is OS.pl, it has just been posted.


    Intrepid

    Q: What is the sound of several hundred Perler-dogs chasing cool code?
    A: YAPC - YAPC - YAPC .. ! :)