JE::Types

JE::Types is a Perl module with JavaScript types and objects.
Download

JE::Types Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Father Chrysostomos
  • Publisher web site:
  • http://search.cpan.org/~sprout/JE-0.021/lib/JE/Types.pod

JE::Types Tags


JE::Types Description

JE::Types is a Perl module with JavaScript types and objects. JE::Types is a Perl module with JavaScript types and objects.The various JavaScript types and objects are represented by Perl classes in JE (which are listed below). This document describes the basic interface implemented by these classes. Information specific to each class can be found on its own manual page.UPGRADING VALUESWhen a value is passed from Perl to JavaScript, it will be "upgraded" to a Perl object representing a JavaScript value. This is done by the upgrade method of the global object.If the value to be upgraded is a blessed reference, and the class into which it is blessed has been bound using JE's bind_class method, it is wrapped up in a proxy object that provides the methods JS needs. A blessed reference whose class has not been bound will be left alone (we assume you know what you are doing). Otherwise the conversion is as follows: From To ------------------------- undef undefined array ref Array hash ref Object code ref Function '0' number other scalar string Requirements: · Perl


JE::Types Related Software