Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: $^O on windows-systems and Perl interna

by sundialsvc4 (Abbot)
on Jun 19, 2010 at 01:13 UTC ( [id://845488]=note: print w/replies, xml ) Need Help??


in reply to $^O on windows-systems and Perl interna

I am of the opinion that this sort of determination belongs exactly as it is now:   within the auspices of an appropriately-named module (presumably built-in); and not the Perl language itself. After all, a module can be defined to give you any information that you may want, in any way that you might want to have it, and yet in doing so it remains totally “a black box.” You can have it do whatever it needs to do, without muddying up either the Perl language or, much more importantly, your own code.

It is always better to have a module that gives you the answer that you want, rather than merely the means with which to figure-out that answer using your own “smarts.” This technique insulates everyone (except the maintainer of the module in question) from any Redmond brainstorm.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://845488]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-20 04:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found