in reply to Space character when using push function on arrays

lamravikanth:

No it doesn't, try this:

my @array; $i=0; while($i<5) { push(@array,$i); $i++; } print join("|",@array);

You're getting confused by the stringification of an array. In other words, expanding the array inside a double-quoted string is adding the spaces.

...roboticus