in reply to Re^2: The Lighter Side of Perl Culture (Part I)
in thread The Lighter Side of Perl Culture (Part I): Introduction
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:
into#!/bin/sh Your Shell Script Here
and your shell script "became" a Perl script.#!/usr/bin/perl system " Your Shell Script Here ":
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.
|
---|