Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.546.938 Times

Persistent::mSQL 0.50

  Date Added: October 06, 2010  |  Visits: 449


Report Broken Link
Printer Friendly Version

Product Homepage
Download (70 downloads)

Persistent::mSQL is a persistent class implemented using a mSQL database. SYNOPSIS use Persistent::mSQL; use English; # import readable variable names like $EVAL_ERROR eval { ### in case an exception is thrown ### ### allocate a persistent object ### my $emp = new Persistent::mSQL($data_source, undef, undef, $table); ### define attributes of the object ### $emp->add_attribute(empno, ID, Number, undef, 4); $emp->add_attribute(ename, Persistent, VarChar, undef, 10); $emp->add_attribute(job, Persistent, VarChar, undef, 9); $emp->add_attribute(mgr, Persistent, Number, undef, 4); $emp->add_attribute(hiredate, Persistent, DateTime, undef); $emp->add_attribute(sal, Persistent, Number, undef, 7, 2); $emp->add_attribute(comm, Persistent, Number, undef, 7, 2); $emp->add_attribute(deptno, Persistent, Number, undef, 2); ### query the datastore for some objects ### $emp->restore_where(qq{ sal > 1000 and job = CLERK and ename LIKE M% }, "sal, ename"); while ($emp->restore_next()) { printf "ename = %s, emp# = %s, sal = %s, hiredate = %sn", $emp->ename, $emp->empno, $emp->sal, $emp->hiredate; } }; if ($EVAL_ERROR) { ### catch those exceptions! ### print "An error occurred: $EVAL_ERRORn"; } ABSTRACT This is a Persistent class that uses a mSQL database table to store and retrieve objects. This class can be instantiated directly or subclassed. The methods described below are unique to this class, and all other methods that are provided by this class are documented in the Persistent documentation. The Persistent documentation has a very thorough introduction to using the Persistent framework of classes..

Requirements: No special requirements
Platforms: Linux
Keyword: Attribute Class Eval Libraries Persistent Persistentmsql Programming Sal Undef Using Using A
Users rating: 0/10

License: Freeware Size: 10.24 KB
More Reviews or Write Review

Libraries  -  JSignal 0.2
JSignal is a loose port of the signal system implemented by GTKs GLib. JSignal project uses signals and handlers to allow for the registration of callback functions to events. To use JSignal those classes which will emit signals (cause events)...
28.67 KB  
Security Tools  -  FactHash Beta
FactHash was designed using the Python programming language to act as a cartographic hashing class / algorithm. Now you can make use of this handy and accessible algorithm to perform various hashes. You require Python in order to use this tool.
Education  -  Learn Python Programming 1.0
In this introductory programming class, youll learn Object Oriented Programming, a must-have technique for software engineers that will allow you to reuse and share code easily. Youll learn by doing, and will build byte-sized (ha!) mini projects...
8.4 MB  
Libraries  -  Inline-API 0.44
Inline-API is a Perl module that teach you how to bind a programming language to Perl using SYNOPSIS #!/usr/bin/perl use Inline Foo; say_it(foo); # Use Foo to print "Hello, Foo" __Foo__ foo-sub say_it { foo-my $foo =...
91.14 KB  
Development Editors  -  BOLT Programming 1.0 PreAlpha
BOLT Programming was built to be a simple and accessible programming language. The languages was mainly designed to help beginning programmers understand difficult concepts such as those seen in BASIC, while maintaining power, speed, and...
Specialized Tools  -  PLT Scheme 4. 2. 2005
PLT Scheme is an innovative programming language that builds on a rich academic and practical tradition. It is suitable for implementation tasks ranging from scripting to application development, including GUIs, web services, etc. It includes the...
26.3 MB  
Programming  -  devkitPro 1.5.7
This project is for homebrew console development tools based on the gnu compiler collection with additional tools and libraries to aid programming each supported console. The windows variants are built with MinGW.
444.26 KB  
Miscellaneous  -  AbstractFactory 1.0
This script has a base Factory class that is meant to be subclassed and then define a default implementation to return, as well as module's to search for the class implementation.
Database Tools  -  Connection PDO Class 1.0
Connection PDO Class is a simple wrapper class that can be used to access SQL databases using the PDO API.It can establish connections, execute direct or prepared SQL queries, retrieve the all query results into a single array, begin, commit and...
10 KB  
Database Tools  -  ActiveDBLib 1.0
ActiveDBLib is a PHP class to access MySQL or optionally other databases by using various Database Abstraction Libraries. Its primary intention is to hide the differences between the different database abstraction Libraries and to provide standard...
10 KB  
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB