perlcoder has asked for the wisdom of the Perl Monks concerning the following question:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: erm... I need help!
by little (Curate) on Apr 29, 2001 at 19:32 UTC | |
Inside your here document you missed the closing tag for the table. If you want to print a string that contains double quotes you might use single quotes for that string eg: print '<tr><td><a href="'.$rank{$_}{url}.'"><center><b>'; please correct your line as you omitted the ' for the hits: for (sort {$rank{$b}{'hits'} <=> $rank{$a}{'hits'}} keys %rank) Have a nice day All decision is left to your taste Update as far as I came with it. Better try to use cgi.pm. It is easy and helps you a lot.
| [reply] [d/l] [select] |
|
(jptxs) Re: erm... I need help!
by jptxs (Curate) on Apr 29, 2001 at 23:49 UTC | |
| [reply] [d/l] |
|
Re: erm... I need help!
by olly (Scribe) on Apr 29, 2001 at 19:05 UTC | |
open(USER, "user.txt") || die "error opening: $!"; Imagination is more important then knowledge -Einstein- | [reply] [d/l] |
|
Re: erm... I need help!
by bjelli (Pilgrim) on Apr 29, 2001 at 20:21 UTC | |
Your code runs just fine on my machine. What kind of problems do you have with the code? -- Brigitte 'I never met a chocolate I didnt like' Jellinek http://www.horus.com/~bjelli/ http://perlwelt.horus.at | [reply] |
by little (Curate) on Apr 29, 2001 at 21:04 UTC | |
anything? :-) Have a nice day All decision is left to your taste | [reply] |