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??
My sh2perl came from a codification of a joke that I had used in my llama class from about 1994 onward.

The joke originated because I had "Sadly, there is no sh2perl" on my page that talked about "a2p" and "s2p", but I wanted to say more about that. So I added that there was a FAQ entry about that (in the very old FAQ) saying that "tchrist@perl.com" had been set up as a mail server to translate shell to Perl, and then explained why that was a joke. But I kept embellishing (as I do with the oldest jokes in the courseware) to say that all you really need to do is change:

#!/bin/sh Your Shell Script Here
into
#!/usr/bin/perl system " Your Shell Script Here ":
and your shell script "became" a Perl script.

My sh2perl joke just does that automatically, after having suggested that in class for many years.

There was never a version that mailed it to tchrist@perl.com... that was only a reference to the old FAQ that somehow got mangled together with my current implementation.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.


In reply to •Re^3: The Lighter Side of Perl Culture (Part I) by merlyn
in thread The Lighter Side of Perl Culture (Part I): Introduction by eyepopslikeamosquito

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 admiring the Monastery: (8)
As of 2024-03-28 15:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found