in reply to text files are printed after the end of second module

sub prerequest_collect_files_db_url { ... }

You never call that subroutine.

Maybe if you call that subroutine, it will actually create the files you want.

Replies are listed 'Best First'.
Re^2: text files are printed after the end of second module
by myfrndjk (Sexton) on Jul 06, 2014 at 17:46 UTC

    hi thanks for ur reply but this sub"prerequest_collect_files_db_url" is responsible for creating text files and after creating the text files i have to compare that via prerequest.pl.but after completing prerequest.pl only text files are creating so i have to run the code twice to see the result

      At least in the code you have shown so far, you never call the subroutine.