Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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 and interrogating %Config.

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

Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2016-10-26 15:46 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (342 votes). Check out past polls.