in reply to How to concatenate in a "join"

You just have to tell join where its own argument list ends using parentheses:

my $out = join('|', @fields[0..9]) . "@" . $staticdir .$newfile;


"The dead do not recognize context" -- Kai, Lexx