posted by
oldbloke at 02:47pm on 18/02/2005
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
I laughed, I'm afraid, when somebody posted this:
my $v4 = "blabla"
my $v2 = "zz"
# RESULT:
print "$v4_1234-$v2"; # "-zz" -- why not "blabla_1234-zz"???
print "$v4_1234"; # ""
print "$v4_"; # ""
print "$v4"; # "blabla" -- CORRECT!
Is this a bug? Or where is it documented? (could not find anything)
my $v4 = "blabla"
my $v2 = "zz"
# RESULT:
print "$v4_1234-$v2"; # "-zz" -- why not "blabla_1234-zz"???
print "$v4_1234"; # ""
print "$v4_"; # ""
print "$v4"; # "blabla" -- CORRECT!
Is this a bug? Or where is it documented? (could not find anything)
There are 4 comments on this entry. (Reply.)