List Info

Thread: Global $maxrow




Global $maxrow
user name
2006-05-20 17:57:54
Is there a way to set $maxrow globally? I'm using
embpcgi.pl with an 
Embperl::Execute to run my embperl html page.

Something like:

Embperl::Execute({
       inputfile  => $template_file,
       outputfile => $outfile,
       maxrow => 10000
});

But I've tried this and found that it didn't work.

Thanks.

....... Hoenie


------------------------------------------------------------
---------
To unsubscribe, e-mail: embperl-unsubscribeperl.apache.org
For additional commands, e-mail: embperl-helpperl.apache.org

Global $maxrow
user name
2006-05-21 12:21:48
Hi,

> 
> Is there a way to set $maxrow globally? I'm using
embpcgi.pl 
> with an Embperl::Execute to run my embperl html page.
> 
> Something like:
> 
> Embperl::Execute({
>        inputfile  => $template_file,
>        outputfile => $outfile,
>        maxrow => 10000
> });
> 

There is no direct parameter, but you can use

	top_include => '$maxrow = 1000 ;',

This will but it at the top of each page (see
http://perl.apache.org/embperl/pod/doc/Config.
-page-2-.htm#sect_55)

Gerald


 
** Virus checked by BB-5000 Mailfilter ** 


------------------------------------------------------------
---------
To unsubscribe, e-mail: embperl-unsubscribeperl.apache.org
For additional commands, e-mail: embperl-helpperl.apache.org

Global $maxrow
user name
2006-05-21 17:10:54
Thanks for your tips. I tried it, but it seems to have no
effect on my html 
page. The maximum row allowed is still 100.

The Execute line in embpcgi.pl now looks like this:

my $rc = Embperl::Execute ({use_env => 1,
                         use_redirect_env => 1,
                         top_include => '$maxrow = 10000
;'}) ;

Am I missing something? Anything else I should look? I have
tried shutting 
down Apache server and browser,  restarting them, and retry.
Still no 
effect on $maxrow.

BTW, I'm using Apache/1.3.27 (Win32) Embperl 2.0b11.

Thanks.

..... Hoenie

At 02:21 PM 5/21/2006 +0200, you wrote:
>Hi,
>
> >
> > Is there a way to set $maxrow globally? I'm using
embpcgi.pl
> > with an Embperl::Execute to run my embperl html
page.
> >
> > Something like:
> >
> > Embperl::Execute({
> >        inputfile  => $template_file,
> >        outputfile => $outfile,
> >        maxrow => 10000
> > });
> >
>
>There is no direct parameter, but you can use
>
>         top_include => '$maxrow = 1000 ;',
>
>This will but it at the top of each page (see
>http://perl.apache.org/embperl/pod/doc/Config.
-page-2-.htm#sect_55)
>
>Gerald
>
>
>
>** Virus checked by BB-5000 Mailfilter **
>
>
>--------------------------------------------------------
-------------
>To unsubscribe, e-mail: embperl-unsubscribeperl.apache.org
>For additional commands, e-mail: embperl-helpperl.apache.org


------------------------------------------------------------
---------
To unsubscribe, e-mail: embperl-unsubscribeperl.apache.org
For additional commands, e-mail: embperl-helpperl.apache.org

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )