Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^5: Custom Sort An AoA

by shmem (Chancellor)
on Apr 02, 2014 at 08:20 UTC ( #1080697=note: print w/replies, xml ) Need Help??

in reply to Re^4: Custom Sort An AoA
in thread Custom Sort An AoA

Ah yes, this is along the lines of what I was looking for.

Although it feels a bit strange spoon-feeding you a solution... ;)

Implementing the orcish maneuver as kennethk suggested is left as an excercise for the reader.

perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'

Replies are listed 'Best First'.
Re^6: Custom Sort An AoA
by Limbic~Region (Chancellor) on Apr 02, 2014 at 12:07 UTC
    I almost started the thread with I know this is false laziness but.... You are right that this was well within my capabilities. I am not one to make excuses but I have been completely immersed in 6502 Assembly since last Friday afternoon. In fact, this code was to identify an execution path through some assembly. When the answer didn't immediately pop into my head I decided it was best not to think about it. I knew if I switched contexts from Assembly (which I am just learning) to Perl, the effort to regain where I was would be a lot of work.

    Mea culpa

    Cheers - L~R

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1080697]
[oiskuu]: I'm unfamiliar with android or SELinux. But I believe there is nothing of a kind. Unless you play with capabilities or build your own containers/ namespaces.
[davido]: I am not finding closing STDIN to be an adequate means of making getlogin return undef.

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2017-06-23 19:28 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (554 votes). Check out past polls.