Linked Questions

Popular Questions

Perl print shows leading spaces for every element

Asked by At

I load a file into an array (every line in array element). I process the array elements and save to a new file. I want to print out the new file:

print ("Array: @myArray");

But - it shows them with leading spaces in every line. Is there a simple way to print out the array without the leading spaces?

Related Questions