Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: for loop ?

by DrHyde (Prior)
on Aug 11, 2011 at 10:18 UTC ( #919838=note: print w/ replies, xml ) Need Help??


in reply to for loop ?

Ignoring the confusing for, I'd also point out that spawning uname is completely unnecessary. Everything that code does can be done by useing Config.pm and interrogating %Config.

Maybe I should add architecture stuff to Devel::CheckOS.


Comment on Re: for loop ?
Select or Download Code
Re^2: for loop ?
by Tanktalus (Canon) on Aug 11, 2011 at 21:13 UTC

    That's not entirely true. You can compile Perl for Linux/ia32 and run it on Linux/amd64. %Config won't tell you that. You can compile Perl for HP/PA-RISC and run it on HP/ia64 (though that's not what the OP is doing). %Config won't tell you that, either.

    Yes, been there, done that. Though I'd still prefer POSIX::uname over `uname`.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2014-08-01 03:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (256 votes), past polls