Skip Menu |

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

Report information
The Basics
Id: 24415
Status: resolved
Priority: 0/
Queue: WWW-Mechanize-Shell

People
Owner: Nobody in particular
Requestors: agentzh [...] gmail.com
Cc:
AdminCc:

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



Subject: Serious typo in Shell.pm (which causes the shell to crash)
Without the patch at the end, i'm getting this error: C:\.cpan\build\WWW-Mechanize-Shell-0.39>perl -Ilib bin\wwwshell.pl (no url)>get http://www.perl.com Retrieving http://www.perl.com(200) Can't call method "agent" on an undefined value at lib/WWW/Mechanize/Shell.pm li ne 310, <IN> line 1. --- lib/WWW/Mechanize/Shell.pm 2007-01-17 23:34:46.515625000 +0800 +++ lib/WWW/Mechanize/Shell_patched.pm 2007-01-17 23:34:54.078125000 +0800 @@ -307,7 +307,7 @@ sub prompt_str { my $self = shift; if ($self->agent->response) { - return ($_[0]->agent->uri || "") . ">" + return ($self->agent->uri || "") . ">" } else { return "(no url)>" };
Subject: Re: [rt.cpan.org #24415] Serious typo in Shell.pm (which causes the shell to crash)
Date: Wed, 17 Jan 2007 20:31:36 +0100 (MET)
To: bug-WWW-Mechanize-Shell [...] rt.cpan.org
From: Max Maischein <corion [...] corion.net>
Show quoted text
> Without the patch at the end, i'm getting this error:
Thanks for the patch! v0.40 has your patch and thus should work again! -max