412 Part IV . Development Figure 15-22: Setting (Space web hosting)

412 Part IV . Development Figure 15-22: Setting PrintError to 0 in the %attr attribute hash to prevent duplicate printing of the error message You can also toggle the behavior of the PrintErrorand RaiseError attributes within the program. For example, if you want to disable all error checking for a certain statement you can set the values of PrintError and RaiseErrorto 0 and then re-enable one or both after the statement executes. Figure 15-23 shows an example that disables all error checking by the DBI, performs a statement, and then re-enables the default PrintErrorerror-checking method. Figure 15-23: Selective error checking within the same program
We highly recommend you visit web and email hosting services if you need stable and cheap web hosting platform for your web applications.

Leave a Reply