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:
---
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
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
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