<?xml version="1.0" encoding="windows-1252"?>
<node id="16182" title="RE: MP3 server with IO::Socket" created="2000-06-03 12:50:15" updated="2005-07-20 23:19:38">
<type id="11">
note</type>
<author id="15494">
antihec</author>
<data>
<field name="doctext">
There seems to be a minor issue with
the &lt;code&gt;open&lt;/code&gt; Statement in Line 55.&lt;br&gt;
If you write it as
&lt;code&gt;open( PLAYLIST, "&lt;playlist.m3u" ) || die "Can't open playlist: $!";&lt;/code&gt;, 
it will do what you mean. In its current form it
evaluates to
&lt;code&gt;open PLAYLIST, ("playlist.m3u" || die);&lt;/code&gt;, 
I think.&lt;p&gt;
The print doesn't return 0, for me it returns undef,
so I changed line 118 to
&lt;code&gt;unless( defined( $print_status ))&lt;/code&gt;
to get rid of "uninitialized value"&lt;p&gt;

Thanks for sharing this nice code, btw! :-)
&lt;code&gt;
-- 
bash$ :(){ :|:&amp;};:
&lt;/code&gt;</field>
<field name="root_node">
8650</field>
<field name="parent_node">
8650</field>
</data>
</node>
