in reply to Re^2: file subroutine
in thread file subroutine

What are placeholders in DBI, and why would I want to use them?.

"Parameters are the DBI handle, and two strings from the last DBI call."

Does your script error-check your DBI calls? Are you sure that the "last DBI call" was successful?


Dave

Replies are listed 'Best First'.
Re^4: file subroutine
by yucani (Initiate) on Dec 20, 2007 at 11:20 UTC
    Hello,
    thank you for the placeholder link.
    Yes, all DBI call are succesfull. I do verbosly write out the results of the queries and there are always positive right.
    Like i said, if i make changes to the code (inserting a space sign) the program runs as desired (output in main and in sub goes the output file).
    But in the second run, only output is writen in the main program. Verbose checks shows that the DBI calls are succesful, but the print $FILE2 statemants in the sub seems to go to nirvana.