in reply to Printing Arrays in Scalar Context

You could use the comma:

use strict; use warnings; my @x; push @x, "this"; push @x, "that"; print "This is \@x:\n"; print @x; print "\n\nThis is \@x\\n:\n"; print @x ,"\n"; __OUTPUT__ This is @x: thisthat This is @x\n: thisthat

All dogma is stupid.