[prev in list] [next in list] [prev in thread] [next in thread]
List: mogilefs
Subject: install problems
From: andreas.koenig.gmwojprw () franz ! ak ! mind ! de (Andreas J ! Koenig)
Date: 2006-04-21 7:28:54
Message-ID: 87acafqtfo.fsf () k75 ! linux ! bogus
[Download RAW message or body]
>>>>> On Thu, 20 Apr 2006 18:29:52 -0700, "Brian Kaino" <ganthirogani@hotmail.com> 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";
$mogfs->store_file("test","txt",$fh);
or if you insist on old-style:
open(TEST, "test.txt") or die "Can't open file";
$mogfs->store_file("test","txt",*TEST);
Hope this helps,
--
andreas
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic