Help for this page
... if ( $str =~ / / ) { ... print "with underscore\n"; } ...
... my $str = $ARGV[0] || '|78187980|ref|NM_0'; # original stri +ng ... print 'with ' . ($cnt || 'no') . " underscore(s)\n"; # print result +depending on count ...