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,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...

Is there anybody so kind enough to tell me why?

Thanks,

Gaetano




Reply via email to