Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

•Re^3: The Lighter Side of Perl Culture (Part I)

by merlyn (Sage)
on Nov 28, 2004 at 23:43 UTC ( #410842=note: print w/ replies, xml ) Need Help??

in reply to Re^2: The Lighter Side of Perl Culture (Part I)
in thread The Lighter Side of Perl Culture (Part I): Introduction

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 "" 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
#!/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 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.

Comment on •Re^3: The Lighter Side of Perl Culture (Part I)
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://410842]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2015-11-25 21:41 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (691 votes), past polls