1=pod 2Bugs item #612621, was opened at 2002-09-21 21:23 3You can respond by visiting: 4https://sourceforge.net/tracker/?func=detail&atid=106556&aid=612621&group_id=6556 5 6Category: None 7Group: None 8Status: Open 9Resolution: None 10Priority: 5 11Submitted By: Richard Donkin (rdonkin) 12Assigned to: Nobody/Anonymous (nobody) 13Summary: Perl POD syntax -> incomplete tags file 14 15Initial Comment: 16In the following test file, ctags 5.2.3 (compiled from 17source on Cygwin) only adds the first subroutine (bar) to 18the tags file, when run using: 19 20ctags --totals -- 21language-force=perl temp 22 23----------------- 24=cut 25sub bar() 26{ 27 28 print "blah\n"; 29 30=for 31 print "blah2\n"; 32 # 33Note: next line has trailing space 34=cut 35 36 37} 38 39sub foo { 40 print "hello\n"; 41} 42=pod 43The 44tags file looks like 45this: 46!_TAG_FILE_FORMAT 2 /extended format; -- format=1 will not append ;" to lines/ 47!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted/ 48!_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/ 49!_TAG_PROGRAM_NAME Exuberant Ctags // 50!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/ 51!_TAG_PROGRAM_VERSION 5.2.3 // 52bar temp /^sub bar() {$/;" s 53 54The workaround is to delete the 55trailing space at the end of the '=cut' line. 56 57=cut 58