Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

RFC: Implicit Parallelization Pragma

by hardburn (Abbot)
on Jan 25, 2005 at 16:47 UTC ( #424933=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    (defun func1 (x) (+ 1 (* 2 x)))
    
  2. or download this
    (func1 3)      ; Function call
    (+ 1 (* 2 3))  ; All occurrences of 'x' replaced with '3'
    (+ 1 6)        ; Reduce
    7              ; Reduce
    
  3. or download this
    (defun func2 (x) (+ 1 (* 2 x) (* 3 x)))
    
  4. or download this
    (func2 3)              ; Function call
    (+ 1 (* 2 3) (* 3 3))  ; All ocurrences of 'x' replaced with '3'
    
  5. or download this
    my @str_lengths = map { length } @strs;
    
  6. or download this
    my @str_lengths = do {
        use threadsafe;
        map { length } @strs;
    };
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://424933]
Approved by Tanktalus
Front-paged by BrowserUk
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (20)
As of 2015-07-28 13:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (255 votes), past polls