sub{$y=@_/@_;for($y..sqrt(@_)) {print pop for(1..($y=5/$y)); print"er" }}->(unpack"a2"x0x9, "ckhal Pthno astJu")

Replies are listed 'Best First'.
(boo) Re: compressed? JAPH
by boo_radley (Parson) on May 19, 2001 at 00:37 UTC
    TIMTOWTCAJ. :
    #/usr/bin/perl -w use warnings; use strict; $|++; $_=unpack("B*", pack ("H36","ab5cf4fa1bafd28972fb0972b3ea218eb972")); while (/(\d{6})/g){print pack ("B*","$[$|$1");}
    update removed /i from match. fingers faster than brain, ha ha :(

    update for that matter, this may be less sexy, but hey :)

    my @foo = ("just anoth"," perl hack", ""); print join "er",@foo;
      That could be combined with the original Code. To lazy to write it now.
      Must be sleepy. Why the i flag in the while?

      or, for special-variable points,

      $,="er"; print "Just anoth"," p","l hack","";
      or
      $,=" ";$\="er"; print "Just","anoth"; print "","p"; print "l","hack";
      It's debatable that this buys you anything, but I really like $\ :-)



      If God had meant us to fly, he would *never* have give us the railroads.
          --Michael Flanders

      To your second update: perl has an er too. The original removes it.
Re: compressed? JAPH
by no_slogan (Deacon) on May 18, 2001 at 22:31 UTC
    Clever... you removed the repeated substring "er".