How to Use Perl Code Hooks

104 13
    • 1). Adjust the way a field in the Perl application behaves by using a field hook. Use a Perl code hook to assign the field a default value or validate what is inside of the field against a database or other text entry.

    • 2). Perform specific tasks in the Perl application by using a record hook. Execute different portions of code found in the application when a user is filling out a form. Validate the information in the form or its record type.

    • 3). Use an action hook to execute specific tasks at defined points during the time the user is interfacing with the Perl application. Validate an entire record as opposed to a specific portion of it, by using an action hook to send the entire record to the backend validation system, then notify the user once the validation has been completed.

    • 4). Include a global hook to provide libraries of routines that can be executed by all the record types that may be found in your application. Write specific subroutines and allow them to be called from any record type.

Source...
Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.