Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
more useful options
 
PerlMonks  

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

by elusion (Curate)
on Jul 23, 2004 at 22:47 UTC ( [id://377062]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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.

Replies are listed 'Best First'.
Re^2: To use a module...or not.
by BrowserUk (Patriarch) on Jul 23, 2004 at 23: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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://377062]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.