Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2017-10-23 10:23 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (279 votes). Check out past polls.