less confusing abstract
[p5sagit/Data-Dumper-Concise.git] / lib / Devel / Dwarn.pm
index 01da500..bb1b0a8 100644 (file)
@@ -8,7 +8,7 @@ sub import {
 
 =head1 NAME
 
-Devel::Dwarn - return Dwarn @return_value
+Devel::Dwarn - Combine warns and Data::Dumper::Concise
 
 =head1 SYNOPSIS
 
@@ -82,6 +82,12 @@ is equivalent to:
   warn Dumper($return);
   return $return;
 
+If you want to immediately die after outputting the data structure, every
+Dwarn subroutine has a paired Ddie version, so just replace the warn with die.
+For example:
+
+ DdieL 'foo', { bar => 'baz' };
+
 =head1 TIPS AND TRICKS
 
 =head2 global usage