Dearest List Denizens, Let me preface this by telling you: (1) this is my second day reading/working through "The Book" ;-) (MPP&E)* and (2) PowerBook 3400c, MacOS 8.0, MacPerl 5.2.0r4 from the CD-ROM in MPP&E, and Alpha 7.0 (13 Dec 97). After diligently working though many examples in MPP&E, it seemed like it might be nice to look at a "real" script. Shifting my surf-unit into 2nd gear, nice and slow, I cruised onto the internet and picked up Joshua Gemmell's contribution "Mog" (as follows): Mog (Joshua Gemmell) is a droplet that will change a file's (or a group of files') creator and type. http://www.ptf.com/macperl/depts/Code/Tools&Misc./Mog Good enough. Now I've tried running this petite script, both from Alpha** and directly in MacPerl, and I get the error message # Undefined subroutine &StandardFile::GetFile called. File '<AppleEvent>'; Line 98 due (apparently) to the line: if($file = StandardFile::GetFile()) { Looking in MacPerl Ä:lib:Mac:StandardFile.pl, I discover that GetFile is not defined (yikes!). But StandardGetFile is, so I try changing the offending line of code to: if($file = StandardFile::StandardGetFile()) { Still no luck. Still the same error message (now with ::StandardGetFile, of course). I have my library search paths set to include MacPerl Ä:lib and MacPerl Ä:lib:Mac in both MacPerl (preferences) and Alpha (current mode=>search paths). I suspect I am missing some crucial aspect of the installation and/or initialization. Possibly I should have waited until I _finished_ MPP&E, but patience is not on my menu. Thank you in advance for your kind suggestions, Julie *MPP&E, MacPerl Power & Ease, Vicki Brown and Chris Nandor, http://www.ptf.com/macperl/ptf_book/ **Alpha: The wonderful shareware environment from Pete Keleher http://www.cs.umd.edu/~keleher/alpha.html which makes a swell front-end to MacPerl and many, many other things. ~^~^~^~^~^~~^~^~^~^~^^~^~^~^~~^~^~^~^^~^~^~^~~^^~^~^~^^~^~^~^~^^~^~ Julie Olmsted Cross Julie.Cross@NRL.Navy.Mil NSLS Bldg. 725A/Beamline X23B vox: (516) 344-5723 75 Brookhaven Avenue fax: (516) 344-7078 Upton, NY 11973 dorm: (516) 344-1237 (rm. 15) http://krazy.phys.washington.edu/~jox ~^^~^~^~~^~^~^~^~^^~^~^~^~~^~^~^~^^~^~^~^~^^~~^^~^~^~^^~^~^~^~^^~^~ ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch