syntax error at text_delim.pl line 11, near "my " Global symbol "$i" requires explicit package name at text_delim.pl line 11.