develooper Front page | perl.libwww | Postings from March 2001

Re: HTML::Form->parse(...)

Thread Previous | Thread Next
March 26, 2001 09:17
Re: HTML::Form->parse(...)
Message ID:
>>>>> "Robert" == Robert Urban <> writes:

Robert> For example, it's not clear whether a local filename can be
Robert> given as '$html_document'.  Examples can reduce 1/2 hour of
Robert> trial and error and swearing to 15 seconds of simple
Robert> comprehension.

Hmm.  Whenever the docs don't do it for me, I simply type

  perldoc -m HTML::Form

to look at the source, and I can probably still have the answer closer
to 15 seconds, not a 1/2 hour.

I've also never seen a Perl function accept either a filename or
a string in the same parameter... since that would be ambiguous, since
any filename could be a string, and any string could be a filename.
So I would have looked for a different function already.

This is not to say that more examples wouldn't be nice, but I don't
think they're necessary, at least for the question you cited above.

Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<> <URL:>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See for onsite and open-enrollment Perl training!

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About