Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Schwartzian Transform

by I0 (Priest)
on Jan 02, 2001 at 18:06 UTC ( #49288=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @temp = map { length $_ } @strings;
    @sorted = @strings[sort{$temp[$a]<=>$temp[$b]} $[..$#temp];
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://49288]
help
Chatterbox?
[erix]: aka: create extension if not exists file_fdw;
[erix]: the annoying thing is that during setup of the 'foreign table' you have to specify all the columns. But that is reasonably automatable (just reading header line, and contruct the needed CREATE FOREIGN TABLE' statement)
[erix]: it may be easier to just slurp your fils into regular tables. Has other infrastructure advantages also (indexes, constraints etc)

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2018-02-23 15:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (302 votes). Check out past polls.

    Notices?