You just have to tell join where its own argument list ends using parentheses:
my $out = join('|', @fields[0..9]) . "@" . $staticdir .$newfile;
In reply to Re: How to concatenate in a "join"
by djantzen
in thread How to concatenate in a "join"
by skyler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |