I have few more doubts.i want to stop this process at some directory levels.Can i able to do? for example my tree struture:while (my $line=<$fh>) { chomp $line; for($line) { s/\&//g; s/[\\\_\@\_]//g; s/COMMENT//g; } my @data = split /:/, $line; my $class = $data[0] ? 'normal' : 'bold'; print $fh_out qq[<tr class="$class"><td>] . join('</td><td>', spli +t(/:/,$line)) . "</td><a href=#></a></tr>\n"; }
download The above script conversion should be done until the following levels.Now my script imports the hyprlinks for all directory levels.How can i do it.Is it possible?DCMS_DEMO |-- DCMS_DEMO.config |-- DCMS_DEMO.html |-- de_top | |-- Block_DV | | |-- Block_DV.config | | |-- Block_DV.html | | |-- rev1 | | | |-- rev1.config | | | `-- rev1.html | | `-- rev2 | | |-- rev2.config | | `-- rev2.html
download And also the a href links from directory to directory level. if i click any of contents from DCMS_DEMO.html it should link with Block_DV.html.Likewise for Block_DV.html.But the link attachements should stop at Block_DV directories.|-- DCMS_DEMO.config |-- DCMS_DEMO.html |-- de_top | |-- Block_DV | | |-- Block_DV.config | | |-- Block_DV.html
In reply to How to add hyperlink for every table data using perl? by finddata
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |