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

Owner: Nobody in particular
Requestors: ALester [...]

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

To: bug-www-mechanize [...]
Subject: Fw: not sure whether a convenience method for file upload is needed in WWW-Mechanize
From: ALester [...]
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: > >
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 infrastructure.

Please report any issues with to