At 10:03 pm -0400 9/4/04, Carl Miller wrote:


if (-f $FileName) {


For some reason, this doesn't work.


Does this work ?:

my $file = "$ENV{MACPERL}README";
open F, $file or die $!;
-f $file and print "\aFile is a plain file\n"

It does here.

Are you sure you have the paths right?

JD



Reply via email to