RE: Create an output file using Perl

2002-08-27 Thread David Zhuo
does the file aa.lst already exists in /tmp? if so, does your script have permission to write to it? the error doesn't seem like a permission problem... david On Tue, 2002-08-27 at 11:49, Allen Wang wrote: > Yes, we do have "/tmp" diretory and everyone has write permission to > "/tmp" > > Thank

RE: Help!! Retrieving Image File

2002-08-21 Thread David Zhuo
On Wed, 2002-08-21 at 10:44, Bob Showalter wrote: > > -Original Message- > > From: David Zhuo [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, August 21, 2002 1:12 PM > > To: Connie Chan > > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; cgi mailing list > >

Re: Help!! Retrieving Image File

2002-08-21 Thread David Zhuo
where do you get the impression that \n\n is for text file and \r\n\r\n is for binary data??? did you get that somewhere? \r\n\r\n is OS specific but \n\n is portable. does Win32 and UNIX-ish use the same crlf? your best beat is to use \n\n where Perl will translate(transparently in the background

Re: Can't locate loadable object DBD::mysql in @INC

2002-08-19 Thread David Zhuo
nconia wrote: > SOrry...I was referring to the BEGIN around the push as being the old > way, which is now less favored to the use lib way. > > Don't understand the question, though I think it probably has something > to do with having to group reply?? > > http://dancon

Re: Can't locate loadable object DBD::mysql in @INC

2002-08-19 Thread David Zhuo
ply, how come i don't see my replied message showed up in the mailing list? i am new to this mailing list :-) david On Mon, 2002-08-19 at 14:38, Wiggins d'Anconia wrote: > aka, use lib is like placing the push in a BEGIN blockwhich I think > was the "old" way of do

Re: Can't locate loadable object DBD::mysql in @INC

2002-08-19 Thread David Zhuo
push @INC, 'the/path/you/want' is different than: use lib 'the/path/you/want' from a user's perspective, they are the same but they are not under the hood. what happen is that that push statement is a run time statement. the use lib statement is a compile time statement. don't confuse the 2. t