Re: Upload file

2003-10-09 Thread Kee Hinckley
At 12:25 AM +0200 10/9/03, Rado Petrik wrote:
Hi, I have this script.


  

[-  

if (defined $fdat{ImageName}) {
 open FILE, "> test ;
 print FILE $buffer
 while read($fdat{ImageName}, $buffer, 32768);
 close FILE;
}
-]

File test exist but have size 0 k.
I have Embperl v 1.3.6.
Try checking for errors first.

if (defined $fdat{ImageName}) {
open FILE ">test" || die("open test: $!");
while (read($fdat{ImageName}, $buffer, 32768)) {
print FILE $buffer || die("print test: $!");
}
close FILE || die("close test: $!");
}
--
Kee Hinckley
http://www.messagefire.com/ Next Generation Spam Defense
http://commons.somewhere.com/buzz/  Writings on Technology and Society
I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: DBIx::Recordset status

2003-10-09 Thread Terrence Brannon

- Original Message -
From: "Gerald Richter" <[EMAIL PROTECTED]>
To: "Angus Lees" <[EMAIL PROTECTED]>; "Terrence Brannon"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, October 08, 2003 9:23 AM
Subject: Re: DBIx::Recordset status


> Hi,
>
> it's true DBIx::Recordset hasn't been updated for a long time. The reason
is
> simple, it does all I need :-) Anyway I have a set of patches people send
me
> and it would be worth putting them into a new release. Also there are some
> ideas what can be enhanced. As you already know I don't have the time to
do
> it right now and when I have time I like to put it into Embperl to get 2.0
> finaly done.
>
> So maybe somebodyelse could help in maintaining DBIx::Recordset (or take
> over the maintainance). I can setup a public CVS (or better svn) which
holds
> the sources, so it should be quite easy to cooperate.

I don't know svn, but it is gaining in popularity, so I would be happy to
learn svn and add patches to recordset as requested.

>
> I think the work Angus has already done for the Debian release is a good
> starting point. Also the docs Terrence has written should be considered to
> be included

yes, DBIx::Recordset::Playground is designed around DBSchema::Sample, so
that people can actually run code when reading the docs instead of just
reading docs.

>
> Anybody likes to give it a try?

I will help out however I can. I have a good amount of free time on my
hands.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]