Hi Randal,
Thanks a bunch..
Today I have attained the "Nirvana" because of you.
My primary interests being Electronics, Physics, Movies, Novels & Linux, I generally don't read books on software engineering. Most of the times I do Googly.
However your's 'Learning Perl' is the only computer related book which I have read in my life. I just finished it few weeks back.
And I am not exaggerating it but I finished it like a Novel. It was so easy and simple to understand.
Its because of your book I have started loving & enjoying Perl. Great Job Randal!!! I do owe many things to you...
I always wanted to meet you and with you replying to my post, my "Karma" has been blessed with gracious bliss....Lucky me...
Coming to your piece of code....It worked like a breeze....All I can say is that - I am speechless
But being frank & forthright, I couldn't understand it much :( . This is the most strangest & strongest Perl code I have ever seen with hardly any use of semicolons.
My head is spinning between sort & map operators. Also I was not knowing 'cmp' operator as I had skip the section 13.4 of your book... :(
I have never used the split operator in the fashion which you have used. I am not sure what '$_->[0], $->1 are doing'. I think they have something to do with references.
If somebody can walk me through the above lines - explaining through one liner comments, I would be grateful...
In reply to Re^2: Emulating 'sort' command through a Perl
by paragkalra
in thread Emulating 'sort' command through a Perl
by paragkalra
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |