install problems

Andreas J. Koenig andreas.koenig.gmwojprw at
Fri Apr 21 07:27:55 UTC 2006

>>>>> On Thu, 20 Apr 2006 18:29:52 -0700, "Brian Kaino" <ganthirogani at> said:

  > open(TEST, "test.txt") or die "Can't open file";
  > $mogfs->store_file("test","txt",TEST);

No mogilefs problem, just wrong usage of filehandles.

Try something like

 open my $fh, "test.txt" or die "Can't open file";

or if you insist on old-style:

 open(TEST, "test.txt") or die "Can't open file";

Hope this helps,

More information about the mogilefs mailing list