Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the WWW-Mechanize CPAN distribution.

Report information
The Basics
Id: 16964
Status: rejected
Priority: 0/
Queue: WWW-Mechanize

People
Owner: Nobody in particular
Requestors: ALester [...] flr.follett.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



To: bug-www-mechanize [...] rt.cpan.org
Subject: Fw: not sure whether a convenience method for file upload is needed in WWW-Mechanize
From: ALester [...] flr.follett.com
Date: Sun, 8 Jan 2006 12:42:27 -0600
Download (untitled) / with headers
text/plain 601b
Mike O'Regan/flr wrote on 08/12/2003 03:37:58 PM: Show quoted text
> If $agent is my WWW::Mechanize and "myname" is an input tag of type > "file" then all you need to do to upload is: > > $agent->field( 'myname', 'c:\autoexec.bat' ); > $agent->click(); > > The field acts like text field, accepting the name of the file to > upload. For basic upload capability, a helper isn't needed. The > relevant docs are: > > http://search.cpan.org/author/GAAS/libwww-perl-5.69/lib/HTML/Form.pm
Show quoted text
> and in the section about file uploads it talks about the extra > features that could warrant a helper. > > Mike O'Regan


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.