An email .signature which will scroll your message across the screen, also has a 'heartbeat' animation at either side of the text.#!/usr/bin/perl -w $|=8;open X,$0;grep{s;#\s(.*)#\n;$m.=$1;meg}(<X>);; # Put # @n=qw;. o 0 O 0 o;;$s=22;$m=" "x$s.$m;$l=length $m; # your # for(0..2*$l){$r=substr($m,($_%$l),$s);$r.=substr($m # message # ,0,$s-(length$r));print" $n[$_%@n] ",$r," $n[$_%@n # here. # ] \r";select($8,$',$@,.1);}print" "x($s+$|*8),"\r" # Have fun! #
I didn't want to obfuscate the message text itself, as I know that only a minority of the people that I send emails to actually use Perl. However, I would be grateful if anyone could offer suggestions on how I could make the code more obfuse.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Message scroller in a .signature
by jryan (Vicar) on Oct 24, 2001 at 00:59 UTC | |
|
Re: Message scroller in a .signature
by jj808 (Hermit) on Oct 27, 2001 at 07:50 UTC |