[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Am I missing some crucial step in the installat



On Sat, 6 Jun 1998 16:37:46 -0400, Julie O. Cross wrote:
>
>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

Without actually running this script, it looks like there's a require
missing. The following certainly works:

#! perl
require "StandardFile.pl";

if ($file= StandardFile::GetFile()) {
       print "$file\n";
}

>
>  Thank you in advance for your kind suggestions,
>
>  Julie
>
>~^~^~^~^~^~~^~^~^~^~^^~^~^~^~~^~^~^~^^~^~^~^~~^^~^~^~^^~^~^~^~^^~^~
>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
>~^^~^~^~~^~^~^~^~^^~^~^~^~~^~^~^~^^~^~^~^~^^~~^^~^~^~^^~^~^~^~^^~^~
>
>
>



-------
Paul J. Schinder
schinder@pobox.com


***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch