which would yieldmy @_a=qw(one two three four damn it shut the door!); printf "@{[q{'%s' } x @_a]}\n",@_a;
'one' 'two' 'three' 'four' 'damn' 'it' 'shut' 'the' 'door!'
In reply to Re: sprintf and arrays of unknown (in advance) length
by Anonymous Monk
in thread sprintf and arrays of unknown (in advance) length
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |