Because you defined $delim = " " but then used @ar = split($d, $s);.
use strict would have caught that typo for you.
In reply to Re: Interesting issues with split function
by BrowserUk
in thread Interesting issues with split function
by podian
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |