Swaminathan Vijay-A20615 wrote: > Hi all, > > I'm trying to print an Empty array in perl. > > print "Here is an empty array:" . () . "<-- Nothing there!\n"; > > It works fine in Unix Environment but not in Windows. > > In Windows it throws out an error message saying > > Use of uninitialized value in Concatenation(.) or string
Try commas if you just want to get rid of the error. Why on earth would you want to do that in the first place ? print "Here is an empty array: ", (), "<-- nothing there!\n"; _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
