John Peterson wrote: >I figured this out from the source one day... Basically, you add a TEXT >resource to your script (using ResEdit or something) and name it whatever >you like, e.g., 'Test'. Then you access it like this: > >open(TEST, "<Dev:pseudo:Test") || die $!; Thank you very much -- this will definately come in handy! >XFCN resources can be added to scripts, no problem. If you added >something like FindFoler.pl as a TEXT resource, how would you 'require' >it? Perhaps something like: > >require 'Dev:pseudo:FindFolder.pl'; > >...would work (if the TEXT resource was 'FindFolder.pl'). I've never >tried that... I'm a bit confused as to how this would work. I know I can easily add the XCFN resource to my droplet, but do you know how I would refer to it? Let's assume that I add FindFolder.pl as a TEXT resource and require it as you suggested. When it is loaded, it calls MacPerl'LoadExternals(FindFolder.pl) to load the XCFN. But this probably won't work since the XCFN resource is no longer actually a part of the FindFolder.pl file. Do you see what I mean? I imagine that I have to change the MacPerl'LoadExternals line so that it doesn't use FindFolder.pl as a parameter (and maybe use the name of the droplet instead). I know you said you've never tried this, but if you (or anyone else) has any further advice, I'm all ears. Thanks again for your help. >John Peterson -- University Networking Services -- Brigham Young University >Internet: John_Peterson@byu.edu Phone: (801) 378-5007 -Sam Sam Choukri \ <http://www.missouri.edu/~c588349/> / sam@pobox.com ---------------* *----------------- John Lennon - sights, sounds, info | TableMaker - make HTML 3.0 tables ColorMaker - color your web pages | FrameShop - make Netscape frames