Creating Apache Derby Applications with Perl
Using Perl Modules
To use a Perl module in a Perl script, you must tell the Perl interpreter to load the module through the use statement. Most Perl scripts collect their use statements at the top of the script to ensure that all of the dependencies are met before the rest of the script is run. It is also an easy way to inform other users of your script about the required modules.
All of the Perl scripts that are developed in this chapter start with the following lines:
#!/usr/bin/perl -w use strict; use DBI qw{:sql_types };
When you invoke a script on Windows operating systems, the first line is ignored. However, on UNIX-based operating systems, the special #! (or “hash-bang”) line tells the operating ...
Get Apache Derby—Off to the Races: Includes Details of IBM® Cloudscape™ now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.