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: 2268
Status: resolved
Priority: 0/
Queue: WWW-Mechanize

People
Owner: Nobody in particular
Requestors: mvr707 [...] yahoo.com
Cc:
AdminCc:

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



Subject: return value of $agent->field(..)
Download (untitled) / with headers
text/plain 130b
$agent->field('xxx', 1) or die; will be possible if field() returned a value. Currently it is a procedure with no return value.
As it stands now, it croaks if the field isn't there. Are you looking for something else?
From: mvr707 [...] yahoo.com
Download (untitled) / with headers
text/plain 323b
[PETDANCE - Tue Jul 22 11:30:33 2003]: Show quoted text
> As it stands now, it croaks if the field isn't there. Are you looking > for something else?
It will be cool if it returned true/false. Infact, I subclassed WWW::Mechanize to give this functionality...Just thought it is a good idea to provide this within WWW::Mechanize --Ramana
Date: Tue, 22 Jul 2003 19:35:18 -0500
From: Andy Lester <andy [...] petdance.com>
To: Guest via RT <bug-WWW-Mechanize [...] rt.cpan.org>
Subject: Re: [cpan #2268] return value of $agent->field(..)
RT-Send-Cc:
Download (untitled) / with headers
text/plain 370b
Show quoted text
> It will be cool if it returned true/false. > > Infact, I subclassed WWW::Mechanize to give this > functionality...Just thought it is a good idea to provide > this within WWW::Mechanize
So you just have it not die if it can't find the field? Can you post your modified version? Thanks, Andy -- Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance


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.