in reply to Pushing a delimiter into an array?

You could also use perl's $LIST_SEPARATOR $" (see perldoc perlvar).
perl -E 'my @x=0..5; local $"=qq|\t|; say "@x"' 0 1 2 3 4 5
Slightly more dramatic:
perl -E 'my @x=0..5; local $"=qq|= \t =|; say "=@x="' =0= =1= =2= =3= =4= =5=

        What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against?
              -Larry Wall, 1992