in reply to Links to web page?

Just configure your web server to return a directory index page when accessing the directory.

If you really want to do it your way, look up how a link is made in HTML - it's not all that complicated.

Replies are listed 'Best First'.
Re^2: Links to web page?
by oh5yw (Novice) on Dec 03, 2008 at 17:17 UTC
    I know how to make link with HTML but I do not know how to adapt it to this part of my code??
    { print "$f<br />"; }

      You need to wrap the name of the file inside an anchor tag. I think you should follow the advice given so far, but I can't help but try to impress you with this :)

      use strict; use warnings; use CGI qw(:all); print header(), ul( map li( a( {href => $_}, $_ ) ), <*.*> ) ;

      jeffa

      L-LL-L--L-LL-L--L-LL-L--
      -R--R-RR-R--R-RR-R--R-RR
      B--B--B--B--B--B--B--B--
      H---H---H---H---H---H---
      (the triplet paradiddle with high-hat)
      
        Where to put that piece of code? Instead of Prnit command or where?