Take a look at split - the first argument is actually a regular expression.
Looking at your data, split(":", $input) should probably be split(/: /, $input) (i.e. a colon followed by a space).
-- Ken
In reply to Re: parsing data in a file
by kcott
in thread parsing data in a file
by pinnacle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |