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

Re: [MacPerl] victim of background copying?



Hi MacPerl friends!

Paul J. Schinder showed:
> use File::Copy;
> copy($from,$to); #$to contains the new path

as the preferred way to do copying in the Mac filesystem.

It works for me when executing from a running MacPerl (5.1.3r2).

BUT:
When saving as a Runtime and double-clicking I get
--------------------------------------------------------
# Can't locate File/Copy.pm in @INC.
File 'int. Festpladde:Desktop Folder:Untitled'; Line 1
--------------------------------------------------------

I set the library path to the "lib" folder within the
MacPerl distribution.

What am I doing wrong?
What is necessary to make use of modules like "File::Copy"
from within runtime versions?


Regards
Axel

configuration:
PPC 7500, System 7.5.3, previous versions of MacPerl were in use

---
Axel Rose              | In the novel I never wrote, I wanted the hero
SPRINGER & JACOBY      | to be a computer programmer because it was the
Werbung GmbH           | most poetic and romantic occupation I could
rose@ sj.com           | think of... -- John Updike, "The Music School"


-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6ui

mQCPAjE5wsMAAAEEANfcHbM+9qKS/cZpY6EzeXOKelw7VrjPMJRX8F+6warvy8uj
bSccRpniJUWhIN7/bZq9d/GLmSgBw8LMJpGG53mrMZEAPKe+f/idQ6qh8W/xd8XX
ngobFs3xt8gf8ceXrdoerQWmav+m9PnatxLKA1INoT6ErJ7qcVI6JLqiHLglABEB
AAG0IEF4ZWwgUm9zZSA8cm9zZUBpbnRlcm5ldC5zai5jb20+iQCVAgUQMTnDIFI6
JLqiHLglAQGsrAP/dSK8T+5bwqpsRDesSwGRKOxrsb+Ni2d3isQBHdKP7X5X6n3f
aNN0f6N2mU9lGMmo8EIh2zgEC3IIzt0Z7td3VhCTs3zRI4L2eE12FG3j/sORV/Z+
7FVBh61kRLQtJPWEK8zE8QUw2lmCi/Z+Y66VyIfKNCEEt57+8Sxrv5FRWYg=
=LO+R
-----END PGP PUBLIC KEY BLOCK-----



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