user-pic

QM

  • About: Quantum Mechanics: The dreams stuff is made of!
Subscribe to feed Recent Actions from QM

  • Jeremy Leader commented on I learn something about tell(), then abuse it.

    In the past, when I've been dancing along the edge between "I can do this in a line or two of shell" and "I should really switch to Perl for this", I've used "head -1" to grab the header line, and "tail -n +2" to grab the rest of the lines. Then I'd paste the headless files, and then cat together the header and the output from paste. Or maybe decide it was getting too complicated, and switch to Perl as you did!

  • James commented on I learn something about tell(), then abuse it.

    Or you could have used $fh->input_line_number() instead of $.

  • brian d foy commented on I learn something about tell(), then abuse it.

    Ah yeah, I keep forgetting to use file handles as objects. I started Perl too early to immediately jump to those.

  • daveydave1234 commented on I learn something about tell(), then abuse it.

    install C/CW/CWEST/ppt-0.14.tar.gz

  • jjolla888 commented on On the relative readability of Perl and Python

    All languages suck. I have only come across one syntax that I mostly like (unfortunately you cant do much with that particular one).

    So Perl v Python arguments centered around syntax are somewhat irrelevant. You will find godawful things in both of them.

    For me, the only things that matter are:

    (i) lots of powerful libraries
    
    (ii) good documentation
    
    (iii) helpful communities
    
    (iv) speed [for some things]
    

    My main toolkit is made up of Perl, Python, Go, and C.

    Perl nails (i), (ii), and (iii). It is the super-glue that allows me to write small prog…

Subscribe to feed Responses to Comments from QM

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl and offering the modern features you’ve come to expect in blog platforms, the site is run by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.