Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

comment on

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

You may well think that all you do is program in Perl. All day, every day. This is almost certainly not the case. Mini-languages abound everywhere. Here's just a few that you may use all the time without thinking about it.

And that's just the core language. If we extend the list to include popular uses and modules:

  • SQL Almost any database application has SQL in it somewhere. If it's not SQL, then it's almost certainly some lesser-known query language.
  • HTML Lots of (IMnHO) naive people still embed HTML in their CGIs. Those of us who have moved on to templates are actually adding yet another language (that of the templating system itself). Interesting that adding another mini-language tends to make things easier . . .
  • Parse::RecDescent Those strings containg the grammar certainly aren't Perl code.

And probably gobs and gobs more. Any given peice of perfectly valid and clean Perl code could easily contain four or five mini-languages without anyone realizing it. I find this interesting, as I hear from many managers that your orginization should stick to using just a few languages. They probably mean full-fledged languages, but I still find this view a bit naive.

One of the reasons I'm excited about Parrot (more than Perl6) is to use it to make all sorts of mini-languages that can be more easily embedded into a main language, or have them call routines built from other languages.

"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.


In reply to How Many Languages are in Your .pl? by hardburn

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 lurking in the Monastery: (6)
As of 2024-03-28 22:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found