Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
I use Perl wherever I can (and that's quite a lot). I don't see it as taking over the world. And I don't want it to do that.

My job is in Computational Biology. Some of the work requires gluing together various "bits": data in various formats, lots of fairly simple string work, nice output reports, etc. Perl is close to ideal for that. It's also excellent for running various programs, for automating tasks such as database downloads, for quick&dirty GUI programming, and similar tasks.

It helps if you help Perl help you: when I created a new data format, I gave it a nice C interface (for our C programs). Not wanting to write (and maintain!) 2 parsers, I wrapped the C interface, with SWIG, to be usable from Perl. The Perl interface is object-oriented, of course, so it's actually nicer than the C interface. And recently I removed the need to free the allocated C objects manually, making the Perl interface even nicer.

But I also have to use C. Perl offers excellent performance for "built-in" tasks, such as regexp matching. But if you require high performance with non built-in structures and algorithms, the performance hit is huge. So the core, high performance tasks are done in C (or C++).

Perl's goal never was to replace other languages; it does its best to work with the others (unlike, say, SmallTalk or Prolog, and even most Lisps), and it makes some (maybe even many) types of programming easier and more pleasant. But it's no panacea, nor is it meant to be one.

``Use the right tool for the job''. If that means Perl, use it. If it means something else, use that.


In reply to Re: Total Perl Domination by ariels
in thread Total Perl Domination by FoxtrotUniform

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 having a coffee break in the Monastery: (6)
As of 2024-03-29 12:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found