in reply to sprintf and arrays of unknown (in advance) length
my @_a=qw(one two three four damn it shut the door!); printf "@{[q{'%s' } x @_a]}\n",@_a; [download]
'one' 'two' 'three' 'four' 'damn' 'it' 'shut' 'the' 'door!' [download]