Re: no-no?
At 11:38 AM -0600 1/3/03, Ken Williams wrote: Actually, since I've done this, installing 5.8 over your stock perl does not seem to cause any problems in general. Maahahahahah, NOT YET, it hasn't! Grin. Actually, I tend to do these kinds of bad idea perl installations from time to time, just because I know I can deal with it if things get hosed, and I like the experimentation. But I wouldn't recommend it to someone that just wants perl as a working tool in good shape. Sounds like you're probably of the same opinion, you don't mind tinkering a little with things if/when they break. Absolutely. I wouldn't recommend it to everyone, I'm just reporting that if you're game, it so far hasn't proved to be a disaster ;-) Besides, who wanted Quicktime 6.0.2 anyway, and I bet they fixed the script for 6.0.3! Enjoy, Peter. -- http://www.interarchy.com/ http://download.interarchy.com/
Re: Perl 5.8 locale
At 12:50 -0500 3/2/03, Bill Metzinger wrote: perl: warning: Please check that your locale settings: LC_ALL = (unset), LANG = en You need to create a plist file and a directory for it: $HOME/.MacOSX/environment.plist and set up LC_ALL and LANG there. Setting them in your .login, .profile, or .***rc won't work. The file is read only once at login-to-OSneXt time. It is not read on a remote login via ssh. *** begin copy of mine - watch out for mail forwarders that add returns. *** ?xml version=1.0 encoding=UTF-8? !DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd; plist version=1.0 dict keyRCCOUNT/key string0/string keySHELLOG/key string/Users/doug/logs/shel_log/string keyLANG/key stringus_ENG/string keyLC_ALL/key stringC/string keyPATH/key string/Users/doug/bin:/opt/bin/perl/bin:/bin:/sbin:/usr/bin:/usr/sbin:/Developer/Tools/string /dict /plist -- Applescript syntax is like English spelling: Roughly, but not thoroughly, thought through.
Re: XML to HTML
this would be simple enough to do with one of the XML parsers, and some perl to generate html tables (or whatever) to contain the information in the document elements. it might be simpler, though, to use the iTunes Export Song List function, which can export a tab-delimited text file containing the same information. tab-delimited text can be converted to an html table directly by BBEdit, using the convert to table command. or you could do it by writing a unix filter (BBEdit once again) in perl, etc etc. hth, stephen At 6:58 PM -0500 3/2/03, Charlie Root wrote: I am looking to take my iTunes Music Library XML file and publish it as a web page. I have looked through CPAN for an XML to HTML converter or something but it turns out I am really dumb and can't find one. Does this exist? Can I do this? Anyone else doing something similar? -- Lou Moran [EMAIL PROTECTED] http://ellem.dyn.dhs.org:5280/ http://homepage.mac.com/ellem52/
Re: Perl 5.8 locale
Thank you! The link you provided led me to another http://duke.usask.ca/~dalglb/macosx/Perl_5.6.html which had a script that created the environment.plist file and ended my locale problem. Happy in Pennsylvania Bill
Perl 5.8 locale
I'm using OSXS 10.2.4. One of the perl modules I want needs me to upgrade my perl 5.6. So first I tried the Apple supplied Perl-5.8.0-MacOSX.tar.gz. That was a hassle free install but led to my following error. I thought going thru CPAN and getting stable.tar.gz would help. After the config and install I ended up in the same place: * Welcome to Darwin! [iBookServer:~] admin% perl -v perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = (unset), LANG = en are supported and installed on your system. perl: warning: Failed to fall back to the standard locale (C). This is perl, v5.8.0 built for darwin * Can someone tell me how to permanently fix this? The temporary setenv LC_ALL C works. TIA Bill