in reply to Beginner - what is the function of these square brackets
Are you creating an anonymous array and putting the object reference in it and then passing the anonymous array reference to the function?