Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2024-04-19 12:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found