Re: start_table problem
- From: Nikos <hackeras@xxxxxxxxx>
- Date: Tue, 03 May 2005 12:12:07 +0300
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 ." .
- Follow-Ups:
- Re: start_table problem
- From: Tad McClellan
- Re: start_table problem
- From: Mark Clements
- Re: start_table problem
- References:
- start_table problem
- From: Nikos
- Re: start_table problem
- From: Jim Gibson
- Re: start_table problem
- From: Nikos
- Re: start_table problem
- From: Trey Waters
- Re: start_table problem
- From: Nikos
- Re: start_table problem
- From: Fabian Pilkowski
- start_table problem
- Prev by Date: Re: start_table problem
- Next by Date: Re: Confused by exporting subroutines
- Previous by thread: Re: start_table problem
- Next by thread: Re: start_table problem
- Index(es):
Relevant Pages
|
|