Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Coding superstitions

by mstone (Deacon)
on Jan 08, 2002 at 01:55 UTC ( #136968=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        if (&condition) {
            &yes;
        } else {
            &no;
        }
    
  2. or download this
        if (&condition) 
        {
    ...
        {
            &no;
        }
    
  3. or download this
        if(&condition){&yes;}else{&no;}
    
  4. or download this
        @list = (
            'item one',
            'item two',
            'item three',   ## <- unnecessary punctuation
        );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://136968]
help
Chatterbox?
[marioroy]: ... including MCE 1.830. Finally, reached the finish line. All is well.
[marioroy]: The issue on the Windows platform is many workers loading "required" modules simultaneously, more so with XS modules.
[marioroy]: ... at runtime.
[marioroy]: The other problem is if a module isn't thread or multi-process safe, there's no posix_exit equivalent on the Windows platform without exiting the entire script.
[Discipulus]: and the workaround you proposed works better? ie load them once and then copy them for threads?
[Discipulus]: ah this is another interesting point: how to know if a module is or is not thread safe?
[Discipulus]: .. sorry mario if i'm bothering you at 5:46
[choroba]: Some modules mention their thread safety in the documentation

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2017-09-22 09:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (260 votes). Check out past polls.

    Notices?