J
juliadream
Can anyone tell my why
print @array
produces output different from
print "@array"
The second one embeds spaces between the items; the first one does not.
What is the rationale behind this?
Example:
push @temparray, "hello", "again", "today";
print @temparray; # Output: helloagaintoday
print "@temparray"; # Output: hello again today
print @array
produces output different from
print "@array"
The second one embeds spaces between the items; the first one does not.
What is the rationale behind this?
Example:
push @temparray, "hello", "again", "today";
print @temparray; # Output: helloagaintoday
print "@temparray"; # Output: hello again today