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

Re: To use a module...or not.

by elusion (Curate)
on Jul 24, 2004 at 02:47 UTC ( #377062=note: print w/ replies, xml ) Need Help??


in reply to To use a module...or not.

I'd use Perl 6.

my @results = sort { complex_operation($^a) } @list;
If you pass Perl 6's sort a block that takes a single argument, it will use it as a key for sorting the data, as a ST would.


Comment on Re: To use a module...or not.
Select or Download Code
Re^2: To use a module...or not.
by BrowserUk (Pope) on Jul 24, 2004 at 03:38 UTC

    The problem is how to flatten the nested hash keys and then reconstitute them? (+ availability:)


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "Think for yourself!" - Abigail
    "Memory, processor, disk in that order on the hardware side. Algorithm, algoritm, algorithm on the code side." - tachyon
      Step backwards in time and rediscover fixed length records.

        I've taken a few days to think about this and I still don't get what you mean. Sarcasm or sage advice? Maybe you could expland this a little?


        Examine what is said, not who speaks.
        "Efficiency is intelligent laziness." -David Dunham
        "Think for yourself!" - Abigail
        "Memory, processor, disk in that order on the hardware side. Algorithm, algoritm, algorithm on the code side." - tachyon

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2014-12-25 09:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls