" print "\t\[", $_, "\] $_\n";"
Hi Eri,
I would suggest dispensing with the comma operators. They can have some rather
unexpected effects in this context. Remember--variables within full quotes are
interpolated before the string is taken. So you could write the above as:
print "\t\[$_\] $_\n"
and it will properly insert the value of $_ in the selected positions. Also, if you
prefer your concatenation to be more explicit, you should use the dot operator '.'.
print "\t\[" . $_ . "\] $_\n"
HTH,
Joseph
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]