Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    JE::Types 0.021

    Download button

    No screenshots available
    Downloads: 386  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.7/5)
    11 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Father Chrysostomos | More programs
    Perl Artistic License / FREE
    June 5th, 2008, 15:10 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    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 VALUES

    When 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

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    JavaScript types | JavaScript objects | Perl module | JavaScript | types | objects

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM