[Jifty-commit] r1302 - in jifty: .

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Thu Jun 15 13:45:14 EDT 2006


Author: nelhage
Date: Thu Jun 15 13:45:12 2006
New Revision: 1302

Modified:
   jifty/   (props changed)
   jifty/trunk/lib/Jifty/Test/WWW/Mechanize.pm

Log:
 r12680 at phanatique:  nelhage | 2006-06-15 13:45:05 -0400
 warn -> carp


Modified: jifty/trunk/lib/Jifty/Test/WWW/Mechanize.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Test/WWW/Mechanize.pm	(original)
+++ jifty/trunk/lib/Jifty/Test/WWW/Mechanize.pm	Thu Jun 15 13:45:12 2006
@@ -11,6 +11,7 @@
 use XML::XPath;
 use Hook::LexWrap;
 use List::Util qw(first);
+use Carp;
 
 my $Test = Test::Builder->new;
 
@@ -302,7 +303,7 @@
     # Remove reason from end if it's there
     pop @_ if @_ % 2;
 
-    warn("Couldn't find link") unless
+    carp("Couldn't find link") unless
       $self->follow_link(@_);
     # TODO XXX FIXME play with $Test::Builder::Level to get errors reported from
     # right place?


More information about the Jifty-commit mailing list