Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re^5: OpenMP from Perl?

by Moron (Curate)
on Jun 21, 2007 at 14:39 UTC ( #622584=note: print w/ replies, xml ) Need Help??

in reply to Re^4: OpenMP from Perl?
in thread OpenMP from Perl?

I just tested it using perlcc and it DID translate the perl 3-argument for loop into a C 3-argument for-loop. See For Loops for foreach and check out the C-style 3-argument for loop (appears first in the doc in fact!) which got "borrowed" from C in the first place and which is what you probably SHOULD be trying to translate.

The Perl one-argument for loop (really a foreach loop with a syntactic allowance being supplied) is an entirely different animal entirely and its resemblance to the C for loop should be treated as semantic and of no practical importance in ths regard.


^M Free your mind!

Comment on Re^5: OpenMP from Perl?

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2015-11-26 19:12 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (706 votes), past polls