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

Re^5: Program Design Around Threads

by BrowserUk (Pope)
on Mar 06, 2013 at 23:26 UTC ( #1022119=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Program Design Around Threads
in thread Program Design Around Threads

Call it Thrum or Funicle.

No thanks.

To avoid FAIL messages, just die unless ($Config{usethreads}) in the tests.

A dieing test will prevent FAIL messages?

Use a boilerplate module from CPAN

Isn't h2xs easier than renaming all the files as well as editing their contents?

And then there is still the problem of working out which files are actually necessary; and deciding what irrelevant guff to fill them with.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.


Comment on Re^5: Program Design Around Threads
Re^6: Program Design Around Threads
by choroba (Abbot) on Mar 06, 2013 at 23:29 UTC
    A dieing test will prevent FAIL messages?
    I was not accurate. Bail out in tests or die in the Makefile.PL|Build.PL.

    Also read CPAN Author Notes.

    لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
      Bail out in tests ...

      How do you "Bail out" without dieing?

      or die in the Makefile.PL|Build.PL

      Hm. I'd forgotten about that heap of dingos kidneys.

      Let's see if I've remembered this correctly. I have to:

      1. Navigate my way around 26 nested classes (with 13 dependent packages) in order to:
      2. Write a perl script that:
      3. Generates a makefile that:
      4. Invokes perl plus another nested heap of packages to:
      5. issue emulated commands that:
      6. copy a single file from one directory to another!

      Executable configuration files are like using a cement mixer truck to make a pudding.


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2014-04-21 09:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (492 votes), past polls