in reply to Backward compatibility: $^O in perl 4

It's been a few hours since I used Perl4, but what is he doing that is system-dependent to the point that he needs to worry about uname?

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.

  • Comment on Re: Backward compatibility: $^O in perl 4

Replies are listed 'Best First'.
Re: Re: Backward compatibility: $^O in perl 4
by bronto (Priest) on May 07, 2003 at 14:01 UTC

    I thought it was obvious from the question: the OS name, for example... and the OS version


    The very nature of Perl to be like natural language--inconsistant and full of dwim and special cases--makes it impossible to know it all without simply memorizing the documentation (which is not complete or totally correct anyway).
    --John M. Dlugosz