[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mogilefs
Subject:    install problems
From:       ganthirogani () hotmail ! com (Ganth Rogani)
Date:       2006-04-21 7:37:49
Message-ID: BAY16-F1838B2BFACF21D86754E5ECEBB0 () phx ! gbl
[Download RAW message or body]

I actually did that just about an hour ago, but I also had to make the 
0/000/000 directories before it would store files.  anyone know why it 
didn't make it automatically?  i assume that at some point it will try to 
make another directory and will fail?


>From: andreas.koenig.gmwojprw@franz.ak.mind.de (Andreas J. Koenig)
>To:  <ganthirogani@hotmail.com>
>CC: mogilefs@lists.danga.com
>Subject: Re: install problems
>Date: Fri, 21 Apr 2006 09:27:55 +0200
>
> >>>>> 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

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic