DBD-iPod

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>DBD::iPod - Connect to an iPod via DBI</title>
<link rev="made" href="mailto:root@localhost" />
</head>

<body style="background-color: white">

<p><a name="__index__"></a></p>
<!-- INDEX BEGIN -->

<ul>

	<li><a href="#name">NAME</a></li>
	<li><a href="#synopsis">SYNOPSIS</a></li>
	<li><a href="#description">DESCRIPTION</a></li>
	<ul>

		<li><a href="#the_ipod_table">THE iPod TABLE</a></li>
		<li><a href="#partial_sql_select_support">PARTIAL SQL SELECT SUPPORT</a></li>
	</ul>

	<li><a href="#author">AUTHOR</a></li>
	<li><a href="#see_also">SEE ALSO</a></li>
	<li><a href="#bugs___todo">BUGS / TODO</a></li>
	<li><a href="#copyright_and_license">COPYRIGHT AND LICENSE</a></li>
	<li><a href="#appendix">APPENDIX</a></li>
	<ul>

		<li><a href="#driver__"><code>driver()</code></a></li>
	</ul>

</ul>
<!-- INDEX END -->

<hr />
<p>
</p>
<h1><a name="name">NAME</a></h1>
<p>DBD::iPod - Connect to an iPod via DBI</p>
<p>
</p>
<hr />
<h1><a name="synopsis">SYNOPSIS</a></h1>
<pre>
 use DBI;
 my $dbh = DBI-&gt;connect('dbi:iPod:');</pre>
<pre>
 #or explicitly give mount path, /mnt/ipod is the default
 #my $dbh = DBI-&gt;connect('dbi:iPod:/mnt/ipod');</pre>
<pre>
 #not mounted at /mnt/ipod ?  do this:
 #my $dbh = DBI-&gt;connect('dbi:iPod:/mnt/ipod2');</pre>
<pre>
 my $sth = $dbh-&gt;prepare(&quot;SELECT * FROM iPod&quot;);
 $sth-&gt;execute();</pre>
<pre>
 my(%artist,$c,$count);</pre>
<pre>
 print STDERR &quot;\nGenerating stats from iPod, this may take a few minutes...\n&quot;;</pre>



( run in 1.698 second using v1.01-cache-2.11-cpan-364913b4093 )