Dear self. I'm writing this so that you know everything you've tried, and the questions and frustrations you've faced. If nothing works, then send it off to the MacPerl list. They'll know. They'll always know. Goal: To create a runtime with all modules included. PPC/68k doesn't matter. FIRST TRY: Save as Runtime. Oop. Need some damn modules. How am I gonna do that? Modules loaded: use strict; use Cwd; use IO::Socket; use LWP::Simple; use XML::Simple; require "lib/Initialize.pl"; require "lib/Subscriptions.pl"; require "lib/WebServer.pl"; require "lib/Mac.pl"; Looked around on the MacPerl archives. Ah! Runtime Builder. Ok. Not a problem. Oop. And no tainting. Gotta take that off too. SECOND TRY: Removed tainting. Dropped plain text script onto Runtime Builder. Output flashed by. Created a runtime and a directory called "shared libs", which contained: InternetConfig, Memory, Types Double click! Oop. Damn. Another error. Uh... # lib/Initialize.pl did not return a true value. Really? That's odd. It runs fine within when I pass it through the Interpreter. Hmm... Relevant entries from Initialize.pl: sub determine_delimiter { [code ] } 1; sub parse_file { [code] } 1; Two routines, two return codes. Hmmf. Ok. Archives again. Whistle. If a module ain't loaded, then you can copy it into the resource, eh? Welp, lemme check.... Ah! Hey! Initialize.pl isn't in there. Now, that's kinda odd - the other ones are in there. Welp, copy and paste, entry named "lib:Initialize.pl". Double click. Nope. Same error. Hmm. Perhaps drop Initialize.pl into "shared libs"? Nope. Same error. Uh. Create a folder called "libs" and drop it in? Nope. Same error. Hmf. Uhhhh. Create a "libs" folder under "shared libs"? Ok. You're stretching it. Samer error. Well. Hmm. This sucks. Wonder what's going on. Back to the archives. Matthias suggest says this could be because of linefeeds (in relation to a Date::Manip post found with "runtime true value"). Open up in BBedit. Check line feeds. All Macintosh. Nope. Sigh. Back again. Nothing good under "runtime true value". Uh. "Runtime". Oh. My. $DEITY. More entries than I could possible imagine. Grrrooannn! [thought] just send the above to the list. you don't have to know you trie... SMACK! shut up! must press forward! [/thought]. What's this BigMacPerl thing? Google shows no downloads. Pudge doesn't have a download (besides this whichPerlApp or something or other). Do I need this? Would this help? THIRD TRY: Added the absolute path to my lib directory to @INC. Dammit. Same thing. Initialize still not in resource fork. Wait. Just copied my whole local lib folder to the same directory that RuntimeBuilder put it in. Double clicked. Got internal error that I know about. Why'd this work all of a sudden? Got anxious. Kinda worked! Remove all libs besides Initialize.pl. Still worked. Same old comforting error I know about. Copied Initialize.pl into lib:Initialize.pl in the resource fork. Removed lib directory. Didn't work. Same blasted true value error. Huh? Does the entered entry in the resource fork have to be in sort sort of order? Lemme move it to the bottom (stay right there)... WHOOoO, I say! When I added the new entry, it defaulted to ID 129. All the other modules are in the 5000 series! That must be it! I frantically change it to the next incremental 5000 number. Save. Remove lib directory. Double click. .... NOooOOOOOOoOOOO! Why! Why oh why must you laugh in my face, oh Codethulhu! *sob*. Back to the archives. FOURTH TRY: Replaced ^use/^require with ^.*use/^.*require in Runtime Builder. Nope. (this was relevant, as I had a module that was dynamically loaded based on the OS (the Mac.pl module). I'm tired. And cold. Shivering with loneliness. Someone has to help me. Please? I *suppose* I could ship Initialize.pl with the runtime, but that's just weird. I don't want two lib folders with only a couple of files each. That's just messy. And yes, it's a userfriendly public app. Installing Perl on the machine is not an option (unless I can skeleton a perl distro and distribute it with the program). Help? -- Morbus Iff Disobey has been mentioned in The Netly News, Internet World, ABC News, Bruce Sterling's Dead Media Notes and many more. Microsoft and 3Com ripped us off also... that's GOTTA mean we're important. And hell, we got a rise out of Playboy! With sections that have nothing to do with the others, you'll like at least one thing. No, really. Go there. -07--- <\/> ---- <http://www.disobey.com/> ------- Bad Ego, Any Notice ----