~ubuntu-branches/ubuntu/utopic/libdbix-xml-rdb-perl/utopic

« back to all changes in this revision

Viewing changes to XML_RDB.pm

  • Committer: Package Import Robot
  • Author(s): Axel Beckert, gregor herrmann, Nathan Handler, Ansgar Burchardt, Salvatore Bonaccorso, Axel Beckert
  • Date: 2013-12-15 19:02:33 UTC
  • Revision ID: package-import@ubuntu.com-20131215190233-0fnjxgk3ofvqh0x8
Tags: 0.05-12
* Team upload

[ gregor herrmann ]
* debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
  field (source stanza); Homepage field (source stanza). Removed: XS-
  Vcs-Svn fields.
* Revert changes to inline POD, not needed any more.
* Revert changes to upstream Makefile.PL: the module gets installed anyway,
  and we handle the scripts via debian/rules.
* Remove debian/libdbix-xml-rdb-perl.*, let debian/rules do the job.
* Refresh debian/rules, no functional changes, except: drop README.
* Set Standards-Version to 3.7.3 (no changes).
* debian/watch: use dist-based URL.
* debian/control: Changed: Switched Vcs-Browser field to ViewSVN
  (source stanza).
* debian/control: Added: ${misc:Depends} to Depends: field.

[ Nathan Handler ]
* debian/watch: Update to ignore development releases.

[ gregor herrmann ]
* Change my email address.

[ Ansgar Burchardt ]
* debian/control: Convert Vcs-* fields to Git.

[ Salvatore Bonaccorso ]
* Change Vcs-Git to canonical URI (git://anonscm.debian.org)
* Change search.cpan.org based URIs to metacpan.org based URIs

[ Axel Beckert ]
* Fix lintian warning binary-control-field-duplicates-source (2x)
* Switch to source format "3.0 (quilt)"
* Bump debhelper compatibility to 9
  + Update versioned debhelper build-dependency accordingly
* Revamp debian/rules
  + Fix lintian warning debian-rules-missing-recommended-target
  + Replace "dh_clean -k" with "dh_prep"
  + Use dh_auto_{configure,build,test,install,clean}
  + Move dh_installexamples parameter to debian/examples and remove
    examples from other locations.
  + Remove obsolete /usr/lib/perl5 handling.
  + Remove obsolete stamp file parameters from dh_clean.
  + Remove obsolete parameter from dh_installchangelogs.
  + Remove obsolete variables.
  + Finally switch to a minimal dh-style debian/rules file.
* Apply wrap-and-sort
* Bump Standards-Version to 3.9.5 (no further changes)

Show diffs side-by-side

added added

removed removed

Lines of Context:
118
118
 
119
119
=head1 NAME
120
120
 
121
 
DBIx::XML_RDB /- Perl extension for creating XML from existing DBI datasources
 
121
DBIx::XML_RDB - Perl extension for creating XML from existing DBI datasources
122
122
 
123
123
=head1 SYNOPSIS
124
124
 
125
125
  use DBIx::XML_RDB;
126
 
  my $xmlout = DBIx::XML_RDB/->new($datasource,
 
126
  my $xmlout = DBIx::XML_RDB->new($datasource,
127
127
                "ODBC", $userid, $password, $dbname) || die "Failed to make new xmlout";
128
 
  $xmlout/->DoSql("select * from MyTable");
129
 
  print $xmlout/->GetData;
 
128
  $xmlout->DoSql("select * from MyTable");
 
129
  print $xmlout->GetData;
130
130
 
131
131
=head1 DESCRIPTION
132
132
 
147
147
Binary data is encoded using UTF-8. This is automatically decoded when parsing
148
148
with XML::Parser.
149
149
 
150
 
Included with the distribution is a "Scriptlet" /- this is basically a Win32 OLE
 
150
Included with the distribution is a "Scriptlet" - this is basically a Win32 OLE
151
151
wrapper around this class, allowing you to call this module from any application
152
152
that supports OLE. To install it, first install the scriptlets download from
153
153
microsoft at http://msdn.microsoft.com/scripting. Then right-click on XMLDB.sct
168
168
        DoSql ( $sql )
169
169
 
170
170
Takes a simple Sql command string (either a select statement or on some DBMS's can be
171
 
a stored procedure call that returns a result set /- Sybase and MSSql support this,
 
171
a stored procedure call that returns a result set - Sybase and MSSql support this,
172
172
I don't know about others).
173
173
 
174
174
This doesn't do any checking if the sql is valid, if it fails, the procedure will "die",