#!/usr/bin/perl use strict; sub interlace { ### ENGAGE GOLF MODE ### my@a=@_;my$z='';($z=chop($a[0]).chop($a[1]).$z)while($a[0]||$a[1]) +;$z ### DISENGAGE GOLF MODE ### } print interlace 'Ti sats.', 'hsi et ';
69 chars with strict on, according to Emacs.
Update: D'oh! Changed something and forgot to change the other part to match. Now is six characters longer.
In reply to Re: (golf) Interlaced Strings
by premchai21
in thread (golf) Interlaced Strings
by yakko
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |