Maybe the file isn't tab delimited, as you think it is. In this case, the split wouldn't work, and $val (in the multiplication) would be entire line...
To debug such issues yourself, just print out the value(s) in question, in this case $val.
Also, the line $val = @values; doesn't make any sense here — it's superfluous.
In reply to Re: handling tab delimited files
by almut
in thread handling tab delimited files
by shaludr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |