Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Fwd: FROM THE DESK OF MR MOHAMED YAYA

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Martin Ruderer <martin AT lddd.org>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] Fwd: FROM THE DESK OF MR MOHAMED YAYA
  • Date: Sun, 13 Jul 2003 02:25:29 +0200

On Sun, 13 Jul 2003 07:52:14 +0800
Ladislav Bodnar <distro.watch AT msa.hinet.net> wrote:

> On Sunday 13 July 2003 07:21, Bearcat M. Sandor wrote:
> > Folks,
> >
> > There's a good example of encoding e-mail links here:
> >
> > http://www.hiveware.com/enkoder_form.php
>
> Here is a perl one-liner that does the same thing:
> perl -we'map{printf"&#%s;",ord}split//,pop' email AT address.com

At a first glance I get it down to
perl -e'print"&#".ord.";"for pop=~/./g'

Only 3 strokes shorter..
More on that tomorrow. ;-)

--
Martin




Archive powered by MHonArc 2.6.24.

Top of Page