in reply to split function

I think slash is missing in front of ':'.
my $view = (split(/:/ , $setView))[1];