Re: How to do CDDB lookup via Win32 Perl?

2002-08-12 Thread Ron Grabowski
I'm having the same problem as described in the following post. Did anyone ever find a solution to this? Read this post again: http://aspn.activestate.com/ASPN/Mail/Message/1312188 Download this file: http://www.freedb.org/software/cddbidgen.zip Run this Perl code: --- use strict; use

Re: XML::LibXML

2002-08-12 Thread Sisyphus
- Original Message - From: Gladstone Alexander [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 09, 2002 10:51 PM Subject: XML::LibXML Can someone tell me how to set up my windows 2000 machine to use XML::LibXML in my perl scripts? What do I need and where can I get it?

Re: How to do CDDB lookup via Win32 Perl?

2002-08-12 Thread $Bill Luebkert
Ron Grabowski wrote: I couldn't figure out why this was failing: my($cddbp_id, $total_seconds, @track_offsets) = (split ' ',$strTOC)[2,-1,4..-2]; @track_offsets is always empty. If the left value is greater than the right value then it returns the empty array. Workaround: my

trying to understand how regex works

2002-08-12 Thread Dan Jablonsky
Hi all, I guess it must be a simple problem, but it's a mystery to me. I got 30 fields all separated by pipes in some files with many many lines. Some of the fields need to be changed, but mostly I have to drop any line that has certain values in certain fields. So I start by skipping any field

Re: trying to understand how regex works

2002-08-12 Thread $Bill Luebkert
Dan Jablonsky wrote: Hi all, I guess it must be a simple problem, but it's a mystery to me. I got 30 fields all separated by pipes in some files with many many lines. Some of the fields need to be changed, but mostly I have to drop any line that has certain values in certain fields. So I

Re: trying to understand how regex works

2002-08-12 Thread Ron Grabowski
open FOUT, /some/path/outputfile.txt; open FILE /some/path/inputfile.txt; open(FOUT, /some/path/outputfile.txt) or die(Error: $!); open(FILE /some/path/inputfile.txt) or die(Error: $!); whileFILE{ p=N; next if (/.*?\|value_garbage1\|.*?/ || /.*?\|value_garbage2\|.*?/ ||