5.6.1b2 and AmphetaDesk...
[email protected] (Morbus Iff) Wed, 5 Dec 2001 00:58:14 -0500
| Newsgroups | perl.macperl.porters |
|---|---|
| Message-ID | <p05101000b83365323ea7@[63.173.138.147]> |
Since XML::Parser was ported to the 5.6.1b2 MacPerl, I decided to try AmphetaDesk with it and see how things were going. Of non-shipped MacPerl Beta modules, I use only two: XML::Parser and XML::Simple. My XML::Simple installation was a cheat - I just dragged over my 5.004 copy from my previous MacPerl installation. Ignoring the below, AmphetaDesk ran perfectly in the beta, and I could notice some speed increases as well. Just a matter of getting a RuntimeBuilder working and I'll be perfectly happy with the beta release ;)... ########################################################################## NOTE: I know I should be using File::Spec to create the path names below. When I wrote the faulty code, I didn't know it existed, so don't kill me. ########################################################################## In the current MacPerl release: #!/usr/bin/perl use Cwd; my $location = getcwd; print $location; Splooge:Applications (Mac OS 9):MacPerl In the current MacPerl beta, the same code prints: Splooge:Applications (Mac OS 9):MacPerl Beta : Notice the delimiter at the end. In the current AmphetaDesk code, I add the delimiter to $location myself (I know, File::Spec, you scream. Shuddup, already!). Later on in the script, I -e on the $location and everything works fine. With no modifications in the beta, my -e will fail on $location. Due to my previous adding of delimiter to $location, I get something like: Splooge:Applications (Mac OS 9):MacPerl Beta ::filename.txt And this causes the -e to fail within 5.6.1b2. When I run the same code within the OS X Terminal, I get: /Users/morbus Which duplicates the current 5.004 MacPerl behavior. Which is correct? Is this a bug? Should I report it as a bug? -- Morbus Iff ( i am your scary godmother ) http://www.disobey.com/ && http://www.gamegrene.com/ please me: http://www.amazon.com/exec/obidos/wishlist/25USVJDH68554 icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus