in reply to Re: Re (tilly) 1: (Golf) Strings-to-Array
in thread (Golf) Strings-to-Array
And the time when $s and $s.0 are different in boolean context is when $s is "0". So when you remove those two characters, you get a bug.
UPDATE
An example that shows the bug:
print map "$_\n", r("0a1", "b0", "0");
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re (tilly) 3: (Golf) Strings-to-Array
by demerphq (Chancellor) on Sep 01, 2001 at 18:27 UTC | |
by tilly (Archbishop) on Sep 03, 2001 at 03:38 UTC | |
Re: Re (tilly) 3: (Golf) Strings-to-Array
by demerphq (Chancellor) on Sep 01, 2001 at 05:37 UTC |