From aa51fbc616e960251606a36f35f41e0081d8ad99 Mon Sep 17 00:00:00 2001 From: Tom Feist Date: Thu, 30 Sep 2010 20:55:00 +0100 Subject: removed // defined-or to allow 5.8 users to play. --- vim-mode/vim_mode.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim-mode/vim_mode.pl b/vim-mode/vim_mode.pl index f7705ed..0263876 100644 --- a/vim-mode/vim_mode.pl +++ b/vim-mode/vim_mode.pl @@ -838,7 +838,7 @@ sub cmd_ex_command { my $rep_fun = sub { $replace }; my $line = _input(); - my @re_flags = split '', $flags // ''; + my @re_flags = split '', defined $flags:$flags:''; if (scalar grep { $_ eq 'i' } @re_flags) { $search = '(?i)' . $search; -- cgit v1.2.3