in reply to Re: Why will v-strings be deprecated
in thread Why will v-strings be deprecated
And while you can use print v10 to print a newline, you can't use it to print two newlines (as opposed to one string with two newlines):print v10; # prints newline. print v10, v10; # "No comma allowed after filehandle"
For this purpose the following works:
Or even:print v10 x 2; # prints 2 newlines
print v10 x 1, v10; # also prints 2 newlines
|
---|
In Section
Seekers of Perl Wisdom