Syntactic Confectionery Delight | |
PerlMonks |
Re^5: How to add hyperlink for every table data using perl?by haukex (Archbishop) |
on Mar 09, 2017 at 07:19 UTC ( [id://1183999]=note: print w/replies, xml ) | Need Help?? |
what is the purpose of (.) you added in front of every line ? That's the string concatenation operator, see perlop. '<td><a href="' . $href_to_what{$word} . '">' . $word . '</a></td>' concatenates those five strings together into a single string. In this case it's the same as writing "<td><a href=\"$href_to_what{$word}\">$word</a></td>".
In Section
Seekers of Perl Wisdom
|
|