http://www.perlmonks.org?node_id=712652

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I'm learning to use CGI.pm and it seems to work nicely. However, when using a stylesheet the output appears as if the stylesheet did not exist. The output source looked fine to me, so I copied it and tried accessing the "new" page: it now appears properly.

Since the stylesheet was in the same directory as the page calling the cgi script (so -style=>{'src'=>'style.css'}), I also copied it into cgi-bin but this didn't make any difference.

Does anyone know why two identical pages -- one saved as an actual .html file and one output from a perl script -- would end up appearing differently?