Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: What is "Schwartzian Transform"

by monkfan (Curate)
on Jul 21, 2005 at 03:56 UTC ( [id://476704]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    -r--r--r--   1 yourname       8318 Jan 30  1996 file1.txt
    -r--r--r--   1 yourname      11986 Jan 30  1996 file2.txt
    -r--r--r--   1 yourname      46852 Feb 27  1996 file3.txt
    -r--r--r--   1 yourname      72698 Feb 27  1996 file4.txt
    
  2. or download this
    @sorted_by_size = 
      map { $_->[0] } 
      sort { $a->[1] <=> $b->[1] } 
      map { [$_, -s] } 
      @files;
    
  3. or download this
    1. Map the initial list into a list of ref to lists with the original 
    +and modified values 
    2. Sort the list of references 
    3. Map the list of ref back into a plain list with the initial values
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-03-29 08:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found