I ran the code above with "MacPerl5.6.1r2" and got the "Macintosh HD:" value on the screen,after that I dragged & dropped the same perl script on "RuntimeBuilder.dp" and then ran the runtime code...I got a "what the hell!?" value on the screen...
It has been many many moons since I've touched RuntimeBuilder, but I seem to recall having to explictly load the File::Spec::Mac module in the script to be compiled. Since RuntimeBuilder needs to create a runtime with every module being used, and File::Spec doesn't know what module to use until it's been called, by the time you run your runtime, it's "too late" to load the (now missing from the runtime application) File::Spec::Mac module
-- Morbus Iff ( you shouldn't have come here ) Technical: http://www.oreillynet.com/pub/au/779 Culture: http://www.disobey.com/ and http://www.gamegrene.com/ icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus