In Perl:
@p = ('?') x 15;
In Java:
Listp = Collections.nCopies(15, '?');
List<String> p = Collections.nCopies(15, '?');
Re:Nitpicking...
jdavidb on 2008-04-10T13:24:58
That's not nitpicking! That's helpfully correcting my typo! Thank you!!
Re:Nitpicking...
jdavidb on 2008-04-10T13:26:19
Actually to be "equivalent" I should probably also declare @p with
my
.:)