Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

message system bugs making caught warnings not appear (mostly)

  • Loading branch information...
commit 27be0ba49f761cfc8e8fdfdc35dd5fd42d5ccf0a 1 parent 98be13c
@jettero authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Term/ReadLine/CLISH/MessageSystem.pm
View
4 lib/Term/ReadLine/CLISH/MessageSystem.pm
@@ -66,7 +66,7 @@ sub scrub_last_error(;$) {
sub install_generic_message_handlers {
$SIG{__WARN__} = sub {
- my $w = "$_[0]";
+ my $w = join(" ", map {"$_"} grep {defined and length} @_);
warning("uncaught warning", $w);
@@ -96,7 +96,7 @@ sub _probably_just_a_caption {
if( @_ == 2 ) {
$args{caption} = shift;
- $args{args} = shift;
+ $args{msg} = shift;
} elsif( @_ == 1 ) {
$args{caption} = shift;
Please sign in to comment.
Something went wrong with that request. Please try again.