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?
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?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: just another CGI newbie
by ikegami (Patriarch) on Sep 19, 2008 at 22:57 UTC | |
by CountZero (Bishop) on Sep 20, 2008 at 07:11 UTC | |
by ikegami (Patriarch) on Sep 20, 2008 at 07:39 UTC | |
by Anonymous Monk on Sep 19, 2008 at 23:55 UTC | |
by Anonymous Monk on Sep 20, 2008 at 00:04 UTC | |
Re: just another CGI newbie
by Cody Pendant (Prior) on Sep 20, 2008 at 10:51 UTC | |
Re: just another CGI newbie
by porta (Sexton) on Sep 20, 2008 at 12:47 UTC |
Back to
Seekers of Perl Wisdom