append in perl
December 5th, 2006 by Lawrence David
to append in perl, use the append operator “.=”
for instance:
a = “vam”;
a .= “pire”;
print a;Â # yields “vampire”
December 5th, 2006 by Lawrence David
to append in perl, use the append operator “.=”
for instance:
a = “vam”;
a .= “pire”;
print a;Â # yields “vampire”