#!/usr/local/bin/perl -w my $mo ;undef$/;seek DATA,0 ,0;my $m0=<DATA>; use strict ;$#? 1:($_ =`clear`); while ($^O) {for my $ii (0.. 20){ $mo =$m0 ;$mo =~ s& ([^ \s \n ]+ |([ \t] () J?? )+ )& chr (vec ($1, rand length $1,8 ))x( length ($1) *sin (3.14 *$ii /20)) &mgex ,print $_ ,$mo ;s y/ y/y && $*; select $/,$/ ,$/, .1 ; } } __DATA__
Blop!

Replies are listed 'Best First'.
Re: à Julie
by thraxil (Prior) on Aug 07, 2001 at 21:52 UTC

    5.6.0 on linux gives me:

    Can't modify predecrement (--) in preincrement (++) at julie.pl line 7 +, near "$mo ;" BEGIN not safe after errors--compilation aborted at julie.pl line 12.

    anders pearson

      Ok, so more testing (from my part) can't hurt. The result on 5.6.0+Linux is perfectly fine for me.

      Actually, there is not a single ++ or -- in there... Are you sure you copied it correctly? (just trying to guess - not insinuating that you can't use a mouse :)

      Blop!
      (Updated: it sounded (unvoluntarily) too abrupt)
Re: à Julie
by acid06 (Friar) on Aug 07, 2001 at 13:07 UTC
    *really* weird output. dunno if that was what you wanted to do...
      Huh, I tested it from my windows box, through a terminal window connected to a Sun running 5.005. It worked pretty fine then.

      Windows users might want to replace the `clear` with `cls`, I guess.