Dear [EMAIL PROTECTED]
I'm a perl newbie and I've used MacPerl5.6.1.r2 (MacOS9.1) to run my
perl scripts.
It goes without saying that MacPerl is my all time favorite application on
MacOS9!
Unfortunately,I've been in trouble lately...
below is the code I've been working on:
[code]
#!/perl
#
#
From: "THEARTOFWEB PRODUCTION" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [MacPerl] macperl bug?
Date: Tue, 14 Dec 2004 17:49:19 +
Dear [EMAIL PROTECTED]
I'm a perl newbie and I've used MacPerl5.6.1.r2 (MacOS9.1) to run my
perl scripts.
It goes without saying that MacPerl is my all
I noticed a weird issue regarding RuntimeBuilder.dp
below is the code i tried to compile:
[code]
#!/perl
use strict;
use warnings;
use File::Spec;
print File::Spec->rootdir() || "what the hell!?\n";;
[/code]
I ran the code above with "MacPerl5.6.1r2" and got the "Macintosh HD:" value
on the screen
I noticed a weird issue regarding RuntimeBuilder.dp
below is the code i tried to compile:
[code]
#!/perl
use strict;
use warnings;
use File::Spec;
print File::Spec->rootdir() || "what the hell!?\n";;
[/code]
I ran the code above with "MacPerl5.6.1r2" and got the "Macintosh HD:" value
on the screen
I ran the code above with "MacPerl5.6.1r2" and got the "Macintosh HD:"
value on the screen,after that I dragged & dropped the same perl script
on "RuntimeBuilder.dp" and then ran the runtime code...I got a "what the
hell!?" value on the screen...
It has been many many moons since I've touched Ru
Unfortunately I still get the "What the hell!?" value on the screen...
I'm not entirely sure what your needs are, but you can get volume
information with http://www.nntp.perl.org/group/perl.macperl/2922
Mac::Volumes. I'm not sure if you get the startup volume, though.
Oop, looks like you can:
---
It has been many many moons since I've touched RuntimeBuilder, but I seem
to recall having to explictly load the File::Spec::Mac module in the script
to be compiled. Since RuntimeBuilder needs to create a runtime with every
module being used, and File::Spec doesn't know what module to use until