>>>>> "Reinier" == Reinier Post <[EMAIL PROTECTED]> writes:

Reinier> Not all URIs actually have a host_port method defined, and
Reinier> this would cause my (also modified) WWW::Robot to crash.
Reinier> However, can() is a fairly new Perl feature.  I don't think
Reinier> RobotUA should fail on things like this.

"can" has been available since 5.003, I believe.  "fairly new" really
doesn't cover that broad of a range.  If you're running anything prior
to 5.004, you're running something that has known buffer overflows
anyway, and shouldn't be trusted in a CGI or setuid environment.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Reply via email to