-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
At 7:55 AM -0400 10/17/01, Kee Hinckley wrote:
> sub foo {
> local(*set) = DBIx::Recordset...
> print $set{bar}
>
>What is the preferred solution? I could declare a "my (%set)" before
>the local. I could temporarily turn of
> -Original Message-
> From: Gerald Richter [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 17, 2001 2:59 PM
> To: Jack Knight
> Cc: Embeded PERL ML
> Subject: Re: $fields versus !fields
>
>
> >
> > From:
> http://perl.apache.org/embperl/Recordset.pod.2.html#Search_parameters
> >
> >
>
> From:
http://perl.apache.org/embperl/Recordset.pod.2.html#Search_parameters
>
> $fields
> Fields which should be returned by a query. If you have specified multiple
> tables the fieldnames should be unique. If the names are not unique you
must
> specify them along with the tablename (e.g. tab1
>
> This is really a general perl question, but I'm hitting it because of
> DBIx::Recordset's use of typeglobs.
>
> In general I want to use "use strict;" in my code. However if I do
> that, then this gets me in trouble.
>
> sub foo {
> local(*set) = DBIx::Recordset...
> print $set{bar}
>
> -Original Message-
> From: Gerald Richter [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 17, 2001 2:08 PM
> To: Jack Knight
> Cc: Embeded PERL ML
> Subject: Re: $fields versus !fields
>
>
> >
> > !fields again returns everything, ignoring the DISTINCT.
>
> !fields is wrong and wil
>
> It appears that Embperl thinks CGI.pm has failed even though it hasn't -
and CGI.pm
> continues uploading files even though Embperl has bailed out.
>
> This is the sequence of events I have so far from the logs:
>
> 10:30:29 - my logging in CGI.pm reports read_multipart() in CGI.pm called,
upl
>
> !fields again returns everything, ignoring the DISTINCT.
!fields is wrong and will never work
> !Fields displays nothing!
>
>From the logfile it returns one record:
> DB: FETCH [0]
> DB: FETCH return HASH(0x8438524)
> DB: Row::FETCH Batchnum = <1>
> DB: FETCH [0]
> DB: Row::FETCH Batc
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
This is really a general perl question, but I'm hitting it because of
DBIx::Recordset's use of typeglobs.
In general I want to use "use strict;" in my code. However if I do
that, then this gets me in trouble.
sub foo {
local(*
On Wed, Oct 10, 2001 at 08:41:47PM +0200, Gerald Richter wrote:
>
> I have currently no idea what is happeing. The only way I see to track this
> down, is to put logging message inside of CGI.pm itself. I good place to
> start is the function read_multipart. Put some warns inside to see where it
>
> What exactly do you mean by main page? The requested URI or the
> base.epl file?
>
Under EmbperlObject the base.epl. By main page I mean the outermost page
that calls all other pages.
>
> Well, it really does :) I'll probably have time over the next few
> days to stick some debugging print
On Wed, Oct 17, 2001 at 07:40:16AM +0200, Gerald Richter wrote:
> > > getting it ready to go live and played with EMBPERL_MAIL_ERRORS_TO
> >
> > > Everything now works great, except that I'm getting 3 copies of
> > > every error email. Has anyone else experienced this? The emails have
> > >
11 matches
Mail list logo