NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
FIELD? (Score:1)
Too lazy to test it by would something like
ORDER BY FIELD( id, 5,7,1,48)
do the job?
Re: (Score:2)
I think that's MySQL specific. The very simple solution is much easier.
Re:FIELD? (Score:1)
Ah...
ORDER BY CHAR_LENGTH( path )
?
Reply to This
Parent
Re: (Score:2)
That's pretty much it. I responded to Ricardo with the solution and a caveat [perl.org].