Template::Plugin::Java::Constants

Template::Plugin::Java::Constants is a Perl module with constants for the Java Template plugin modules.
Download

Template::Plugin::Java::Constants Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Rafael Kitover
  • Publisher web site:
  • http://search.cpan.org/~rkitover/

Template::Plugin::Java::Constants Tags


Template::Plugin::Java::Constants Description

Template::Plugin::Java::Constants is a Perl module with constants for the Java Template plugin modules. Template::Plugin::Java::Constants is a Perl module with constants for the Java Template plugin modules.SYNOPSISuse Template::Plugin::Java::Constants qw/:regex/; use Template::Plugin::Java::Constants qw/:boolean/; use Template::Plugin::Java::Constants qw/:all/;regexThe "regex" tag exports qr// compiled regular expressions SCALAR, PRIMITIVE, STRING and ARRAY, these are for matching Java types. All of these match a whole line, with no extra whitespace, and return the matched java type as $1. They may be used as:$string =~ /@{}/; # Ugly but effective and relatively fast.SCALARAny primitive or encapsulated primitive: int, or Integer, or String, etc.PRIMITIVEOnly primitive types like int, float, double, byte, etc.STRINGAn incarnation of java.lang.String.ARRAYA java.util.Vector.booleanThe boolean tag just exports the constants TRUE as 1 and FALSE as 0.allExports all of the proceeding. Requirements: · Perl


Template::Plugin::Java::Constants Related Software