Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^4: Program Design Around Threads

by choroba (Abbot)
on Mar 06, 2013 at 23:19 UTC ( #1022117=note: print w/ replies, xml ) Need Help??


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

Call it Thrum or Funicle. To avoid FAIL messages, just die unless ($Config{usethreads}) in the tests. Use a boilerplate module from CPAN to create all the needed files.

لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re^4: Program Design Around Threads
Download Code
Re^5: Program Design Around Threads
by BrowserUk (Pope) on Mar 06, 2013 at 23:26 UTC
    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.
      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://1022117]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2014-07-11 04:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (218 votes), past polls