Code Monkey home page Code Monkey logo

pb-perllib's Introduction

PerlLib is a library for accessing Perl functions and modules 
from PowerBuilder

Author: Anatoly Moskovsky <[email protected]>
License: PUBLIC DOMAIN


INSTALLATION

There are two configurations. Those depend on whether Perl's been installed
on your PC or not.
0. The common steps of the installation.
- unpack "perllib.dll" to your PB project dir or to a dir in the PATH. 
- import "n_perl.sru" into one of your PBLs.

1. If you have installed Active Perl 5.8.x (builds 8XX) or 
compiled Perl 5.8.x from CPAN with BUILD_FLAVOR=ActivePerl, then you
don't need any other steps.

2. If you don't have Perl installed, just copy "perl58.dll" from the archive 
to your PB project dir or to a dir in the PATH. Then extract perllib-unicode-deps.zip
to the directory where "perl58.dll" is in. 
In this case you won't be able to "use" standard modules (except unicode related). 
In other words, you'll have a naked Perl interpreter with the built-in functions available only. 
However, this still gives you the power of Perl's regex'es and string 
processing primitives and you can "use" your own modules, just put them into
a dir. from @INC.

The supplied version of Perl is Active Perl build 811 (5.8.6)

Note 1. Supported both Unicode and ANSI versions of PowerBuilder

Note 2. Under Unicode PB (PB10 and higher) strings being passed to Perl are
converted from UTF16 to UTF8 which is used internally by Perl for Unicode.

EXAMPLES

There is a sample application in the archive ("pbperl.sra").
Import it into a PBL or just copy the application's open script 
from "pbperl.sra".







Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.