Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

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

by brian_d_foy (Abbot)
on Nov 28, 2004 at 06:19 UTC ( #410778=note: print w/replies, xml ) Need Help??

in reply to The Lighter Side of Perl Culture (Part I): Introduction

Anything written in 1989 or 1990 can't be a variation of Randal's sh2perl, which he wrote in 1998 for an April's Fool joke. See the Changes file or The Perl Timeline. Do you have references for the email you dredged up?

As far as I know, there wasn't a script that would automatically email things to Tom. Early on, his email address got passed around as a csh to Perl translator. Supposedly, Tom would send back Perl versions, although I have yet to meet anyone who used this service.

Chris Nandor beat sh2perl by a couple months with D'oh, which you should write with the old package notation instead of the double colon.

brian d foy <>
  • Comment on Re: The Lighter Side of Perl Culture (Part I)

Replies are listed 'Best First'.
Re^2: The Lighter Side of Perl Culture (Part I)
by eyepopslikeamosquito (Chancellor) on Nov 28, 2004 at 22:35 UTC

    Thanks for the correction brian. I was working from an old Perl Mongers talk I gave a while back and it seems I got it wrong. I can't find merlyn making any claim of an earlier incarnation of sh2perl, but in this response from Ian Phillipps to Schwern Schwern mentions that a "mythological sh2perl program was one that would email your shell program to either comp.lang.perl (back when there was *only* comp.lang.perl) or Tom Christiansen". (This is also the reference where Ian mentions his little joke program generator).

      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.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2020-01-19 19:45 GMT
Find Nodes?
    Voting Booth?