How can I trim Leading spaces in array elements

Hi

print “Enter lines, then press Ctrl-z\n”;
@lines = ;
print (“@lines\n”);
@rev = reverse @lines;
print (“@rev\n”);

When I run this I get leading spaces on all lines after 1. How can I trim the space please, Eoin

Hi @Ebairead,

I’m not sure how this has to deal with Travis CI in any way.