my (undef, $salt, @post, @time) = (scalar(), scalar()); #force scalar context. ($post[$#post + 1], $time[$#time + 1]) = split(/;/) while (); print "@post\n@time\n";