Via Christi Health has opted out of the Wichita school districtâs health insurance network, a move that is expected to send more than 1,000 teachers and other employees scrambling to find new primary care doctors. âIt is causing some panic,â said Shannon Krysl, head of human resources for the Wichita district.
To create a function in the PL/Perl language, use the standard CREATE FUNCTION syntax: The body of the function is ordinary Perl code. In fact, the PL/Perl glue code wraps it inside a Perl subroutine. A PL/Perl function is called in a scalar context, so it can't return a list.
Now, however, there is a better answer. New in Perl 5.8, Perl is a text editor. The Tie::File module associates a Perl array with the lines of a file; you can modify the array with assignments, or push, or splice, or reverse, or whatever you prefer, and your changes will be instantly propagated to the file. I'll introduce this module and show how to use it and how it works.