in reply to Re^2: How to add hyperlink for every table data using perl?
in thread How to add hyperlink for every table data using perl?

$href_to_what{$word} is a hash, indexed by every word where each value for a word contains the link for that word

You need to edit that post and fix it so it displays right, i think you have square braces you dont want to be in there

Replies are listed 'Best First'.
Re^4: How to add hyperlink for every table data using perl?
by finddata (Sexton) on Mar 09, 2017 at 07:14 UTC
    what is the purpose of (.) you added in front of every line ?
      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>".

      text string concatenation