v2.2.0: More modules and features
v2.2.0: Core Modules, DBI Support, and Extended Features
This release marks a significant step forward with new modules, enhanced loop functionality, and tools to streamline configuration and documentation.
Highlights
1. Upgraded Perl Version:
Aligned with Perl v5.40.0, bringing the latest features and compatibility improvements to PerlOnJava.
2. for Loop Enhancements:
The for loop now supports iterating over multiple values simultaneously, and loop variables are aliased for more expressive code.
3. DBI Module with JDBC Support:
Database interaction is now possible via the DBI module, leveraging JDBC drivers for flexible database connectivity.
4. Built-in Methods and Operators:
Added Perl builtin methods such as inf, nan, weaken, unweaken, is_weak, blessed, refaddr, reftype, ceil, floor, trim, and more. Also introduced the low-precedence XOR operator ^^.
5. Configuration and Documentation Tools:
The new Configure.pl script simplifies setting compiler options and adding JDBC drivers. Documentation updates include links to JVM-specific resources and a new SUPPORT.md file.
All Changes
New Features:
- Perl v5.40.0 compatibility.
- Enhanced
forloop with multi-value iteration and aliasing. - Added built-in methods:
inf,nan,weaken,unweaken,is_weak,blessed,refaddr,reftype,created_as_string,created_as_number,stringify,ceil,floor,indexed,trim,is_tainted. - Added XOR operator
^^.
New Modules:
DBIwith JDBC support.URI::Escape.
New Command-Line Features:
- Added
-Sswitch for enhanced script handling.
Configuration and Documentation:
- Introduced Configure.pl for compiler options and JDBC drivers.
- Updated README with Perl on JVM resources.
- Added SUPPORT.md for detailed support information.
This update expands the capabilities of PerlOnJava, delivering a more robust and versatile Perl experience on the JVM.
Explore the project: GitHub