CGI pm Temp File Problems

2002-03-11 Thread Lee Goddard
CGI open of tmpfile: No such file or directory Got this running the latest AS Perl with CGI.pm: the directory C:\temp exists, so CGI pm should find it; form data was encoded correctly and uploaded ok afaik, from IE6 to Win2k IIS. Any help appreciated TIA lee

RE: CGI pm Temp File Problems

2002-03-11 Thread Thomas Bätzler
Lee Goddard [[EMAIL PROTECTED]] asked: CGI open of tmpfile: No such file or directory Got this running the latest AS Perl with CGI.pm: the directory C:\temp exists, so CGI pm should find it; form data was encoded correctly and uploaded ok afaik, from IE6 to Win2k IIS. It would be helpful

RE: CGI pm Temp File Problems

2002-03-11 Thread Lee Goddard
At 13:31 11/03/2002 +0100, Thomas Bätzler wrote: Lee Goddard [[EMAIL PROTECTED]] asked: CGI open of tmpfile: No such file or directory Got this running the latest AS Perl with CGI.pm: the directory C:\temp exists, so CGI pm should find it; form data was encoded correctly and uploaded

How to Get Hash Array into an Object

2002-03-11 Thread Frederic Bournival
Hello, i really need your help... I'm not able to get the values of an hash array into an object Here is my code: package Test; # [...] sub AddText { my $this = shift @_; my $content = shift; my %hasharray = %$this-{mimeparts}; $hasharray{'text'} =

RE: How to Get Hash Array into an Object

2002-03-11 Thread Joseph P. Discenza
Frederic Bournival wrote, on : sub GetText { : : my $this = shift @_; : : my %temp = %$this-{mimeparts}; : : return $temp{'text'}; : : } : The problem is in the GetText SUB... : $this-{mimeparts}is an Hash Array and : i want to get the value of this hash with the 'html' key

RE: How to Get Hash Array into an Object

2002-03-11 Thread Martin Moss
my %hasharray=%{$this-{mimeparts}}; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Frederic Bournival Sent: Monday 11 March 2002 15:21 To: Perl Win32-users Subject: How to Get Hash Array into an Object Hello, i really need your help...

RE: How to Get Hash Array into an Object

2002-03-11 Thread Thomas Bätzler
Joseph P. Discenza [[EMAIL PROTECTED]] wrote: Frederic Bournival wrote : $this-{mimeparts}is an Hash Array and : i want to get the value of this hash with the 'html' key ... Does this not work? return $this-{'mimeparts'}{'html'}; No, there is a reference operator missing,

How to Get Hash Array into an Object - Thanks

2002-03-11 Thread Frederic Bournival
A really BIG thank you : this two ways are fine: return $this-{'mimeparts'}{'test'}; my %hasharray = %{$this-{mimeparts}}; return $hasharray{'test'}; Thanx again :)) Frédéric Bournival ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To

RE: How to Get Hash Array into an Object

2002-03-11 Thread Joseph P. Discenza
Thomas Bätzler wrote, on Monday, March 11, 2002 10:46 AM : Joseph P. Discenza [[EMAIL PROTECTED]] wrote: : Frederic Bournival wrote : : $this-{mimeparts}is an Hash Array and : : i want to get the value of this hash with the 'html' key ... : : Does this not work? : : return

Encoding HTML in hidden inputs

2002-03-11 Thread Byron Wise
I have a form that allows the user to input html. After they submit I'm needing to put that value in a hidden field and wait for them to fill out the second page before processing. What is the best method of encoding the html. It seems that the problem is double quotes but I'd rather have a

RE: How to use vbNullString datatype in Perl Win32::OLE???? (second r equest)

2002-03-11 Thread Bullock, Howard A.
The problem may lie in the fact that when the process is running there are no current user credentials for it to use or that the process is running as a different user than you expect. Is there a way of checking who it thinks the current user is? Thanks for reply. I am running the script in a

RE: Encoding HTML in hidden inputs

2002-03-11 Thread Ember Normand
Try: $yourname = CGI::escape($yourname); -Original Message- From: David Kaufman [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 1:13 PM To: Byron Wise; Perl-Win32-Users Subject: Re: Encoding HTML in hidden inputs Byron Wise [EMAIL PROTECTED] wrote: I have a form that allows

Re: Compress::Zlib replacement for pknunzip

2002-03-11 Thread Dirk Bremer
Here is a incomplete code example forArchive::Zip; use Archive::Zip; # Check that the zip archive exists. unless (-e $ZipInputFile) {WriteLog("$ZipInputFile does not exist",0); exit(0);} # Object constructor. $ZipObject = Archive::Zip-new(); # Read in the zip archive. unless

Circumvented: How to use vbNullString datatype in Perl Win32::OLE???? (second r equest)

2002-03-11 Thread Bullock, Howard A.
Although I would eventually like to understand this issue and be able to use OpenDSObject if I wanted, but the issue has currently been by-passed by using Win32::OLE-GetObject. This apparently used the default credentials. I am not sure why I selected to use OpenDSObject other than I saw it used