Re: start_table problem



Fabian Pilkowski wrote:
* Nikos schrieb:

Trey Waters wrote:

Just to point out the relevant section from `perldoc CGI`:

      With a few exceptions (described below), start_tag_name
      and end_tag_name functions are not generated automatically
      when you use CGI.  However, you can specify the tags you
      want to generate start/end functions for by putting an
      asterisk in front of their name, or, alternatively,
      requesting either "start_tag_name" or "end_tag_name" in
      the import list.

Funny thing is, the section of the CGI.pm documentation relevant to this question was found with the FIRST match of searching for "start_table". I will admit, the text of the paragraph can be a little confusing (esp. if you're like me, and not the quickest kid on the block), but the example that follows makes it perfectly clear.

I will let you figure out how to use perldoc to find the example in the CGI.pm docs which will show you how to fix your error message. :)

Can you beleive that i dont know at all how to use perldoc even how to serach the syntax of print?


Well, reading this I understand why you're asking all your annoying
questions here. You don't know *how* to read the docs.

Hiltherto, you have told you won't read at all. -- Is the time coming
where you want to read the docs yourself? Hoping this, I'll answer your
question:

    `perldoc` is a program you can call from your console.

To read the docs of one module you have to type `perldoc Module` -- in
the case of CGI.pm (see above) you just have to type `perldoc CGI` as
Trey has mentioned in his posting. When looking for some information
about one of Perl's builtin functions like print(), you have to type
`perldoc -f print`. All this is done from your console.


i have activestates perl.
Can i see the help document in browser somehow or is better in console?


Additionally, when using ActiveState's Perl all these informations are
already available in HTML format. Scout about a subdirectory of Perl's
install dir (AFAIR, "C:\perl" as default) named "html". This HTML pages
are using frames: a left one to show a navigation bar and a right one to
show the information you have choosen in the first. The navigation bar
begins with some ActiveState stuff, followed by the core docs. When
scrolling down some lines you see the docs for all installed modules. As
Sinan has pointed to, there is also a link in your start menu.

Please, have a look at this and try to read it.

regards,
fabian

Thank you fabian, i really must start to read some docs or else iam gonna ask for everything.
I must tell you that i was always afriad to look at the docs because i think that they are complicated and even if i try to find an answer there for a problem i currently facing it will be very hard to do so.


Anyway, i will try but it hink this will happena gain.

perldoc -f print

what does the -f switch stands for? find maybe?
So for every function i must ask perl to find help for that and for every module -f is never required?


Also, i often see perl -e 'something'

Is this for trying instantly on console one statement and see directly the output without having to create a perl prog to do that?

--
"Of course I cant stop you. And that would really bum me out
if that were my job. But my job isnt to stop you, its to
make it as difficult as possible, for as many as possible,
for as long as possible ."
.



Relevant Pages

  • Re: How to write to drive A: from CGI Perl
    ... >> If that does not look weird to you, then please go back to basics. ... Please (assuming that the quoted text is an actual excerpt from the HTML ... You will have a better version of Perl? ... for HTML or Perl or CGI or anything. ...
    (comp.lang.perl.misc)
  • Re: [HELP] code modification
    ... Getting a program to run under CGI can be difficult, ... There is also more risk if the script involves sending e-mail or ... version of perl you are using. ... Investigate the CGI module for acquiring HTML form data. ...
    (comp.lang.perl.misc)
  • Beginners Program
    ... I had to work with 2 friends however and they have never seen perl, ... to convert HTML files into CGI. ... Thanks alot for your time. ...
    (comp.lang.perl.misc)
  • Re: export to excel
    ... > with a CGI Perl. ... My CGI allows output to HTML table by Template.pm ... #"quick and dirty" in the main script using the template ...
    (comp.lang.perl.misc)
  • Re: trying to launch a second CGI, from a parent CGI
    ... Fabian Pilkowski wrote: ... #!/usr/bin/perl use CGI; my $q = CGI->new; ... The sets of environment variables are identical in those two cases... ... Parameter: hello D:\home> perl test.cgi var=hello ...
    (comp.lang.perl.misc)