Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

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.

Comment on Re: for loop ?
Select or Download Code
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 drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2015-10-04 11:57 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (102 votes), past polls