That's probably just a mistake. Calling split in scalar context will assign the number of items produced by the split to the scalar, so $kbin will contain the number of items the split returns, not the items themselves. That might make sense in some cases, but not here, since $kbin is being used as if it's an array later.
My first guess would be that this was written by a PHP programmer, since their arrays don't use a different sigil like Perl's do.
Aaron B.
Available for small or large Perl jobs and *nix system administration; see my home node.
In reply to Re^3: strange syntax
by aaron_baugher
in thread strange syntax
by grasshopper!!!
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |