make remoterepl use a local backend if no ARGV
Matt S Trout [Fri, 18 May 2012 15:24:17 +0000 (15:24 +0000)]
bin/remoterepl

index f7bae7a..254fa15 100755 (executable)
@@ -15,7 +15,7 @@ $SIG{INT} = sub { warn "SIGINT\n" };
 
 #{ no warnings 'once'; $Object::Remote::Connection::DEBUG = 1; }
 
-my $eval = Eval::WithLexicals->new::on($ARGV[0]);
+my $eval = Eval::WithLexicals->new::on($ARGV[0]||'-');
 
 my $read = Term::ReadLine->new('Perl REPL');
 while (1) {