문제

$3 is for the 3rd column of .txt which represents my email address column. Why is the following statement outputing "$3" rather than the email address?:

print "      <td><a href=mailto:>$3</a></td>"     

I am at a standstill.

도움이 되었습니까?

해결책

Because you are printing a literal string, what you want is:

print "      <td><a href=mailto:>"$3"</a></td>" 
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top