in reply to Why will v-strings be deprecated
But 'v10' also looks like a bareword. Consider this:
sub u11 {"u11"} sub v11 {"v11"} sub w11 {"w11"} print u11, v11, w11, v10; __END__ u11v11w11
And that includes the new line.
There are more things that cause more confusion than they solve peoples problems:
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 65.66; # prints '65.66' print 65.66.67; # prints 'ABC'
print v10; # prints newline. print v10, v10; # "No comma allowed after filehandle"
Abigail
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Why will v-strings be deprecated
by ambrus (Abbot) on Oct 06, 2003 at 14:46 UTC | |
Re^2: Why will v-strings be deprecated
by Dietz (Curate) on Jan 05, 2006 at 17:16 UTC |
In Section
Seekers of Perl Wisdom