naming request global parameter and EO

2001-07-17 Thread Lukas Zapletal
Hello, I must deal with naming problem. I want to use both embperl object and global variables (in the %req hash). How should I name that object? In the tutorial it is named $subs but I think it`s not good. Wat are your suggestions and opinions? ps - I`m thinking in coding IIS ISAPI filter mo

Re: Sessions with Postgres & Embperl 2.0 EP1COMPAT Flag

2001-07-17 Thread Gerald Richter
> > I meant posting info we should get the latest CVS tarball so you don't > have to mail it to all of us by hand. > The session code is separated in a module on it's own which isn't in the cvs yet. Also the CVS is currently moveing form perl.apache.org to cvs.apache.org and I didn't have tested

Re: Sessions with Postgres

2001-07-17 Thread Gerald Richter
> > I'm back at work (sort of) and I'm glad to see there's progress on the > Embperl/Session front. Gerald, when there's something you want us to > test in the CVS, would you post info to this list? I'm looking forward > too. > I have done something. I send it to you with private mail. I thinks

Re: how can i declare global variable with use strict?

2001-07-17 Thread Gerald Richter
> > so I`m not able to make my own session hash and use it globally in the > request (all pages)? > You, can but with a different way: See http://perl.apache.org/embperl/IntroEmbperlObject.pod.4.html#Website_Global_ Variables and http://perl.apache.org/embperl/TipsAndTricks.pod.2.html#Alterna

Re: how can i declare global variable with use strict?

2001-07-17 Thread Robert
Lukas Zapletal wrote: > > ... > > so I`m not able to make my own session hash and use it globally in the > request (all pages)? I guess that's what EmbperlObject is for. But in need I sometimes put stuff in pnotes. - Robert -

Re: Sessions with Postgres

2001-07-17 Thread Robert
Gerald Richter wrote: > > I think I will have a test version ready during next week and I send you a > copy, so you can test it against Postgres in your environment. Hi everybody, I'm back at work (sort of) and I'm glad to see there's progress on the Embperl/Session front. Gerald, when there'

Re: how can i declare global variable with use strict?

2001-07-17 Thread Lukas Zapletal
>use > >[$ var %hash $] > >NOTE: %hash will only be global for that page. It will not be visible in the >pages you include. so I`m not able to make my own session hash and use it globally in the request (all pages)? lzap - T

Re: how can i declare global variable with use strict?

2001-07-17 Thread Gerald Richter
> > [!var %hash; !] > use [$ var %hash $] NOTE: %hash will only be global for that page. It will not be visible in the pages you include. Gerald - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

how can i declare global variable with use strict?

2001-07-17 Thread Lukas Zapletal
I have found a sentence in the manual I can use 'var' for defining global variables. I tried: [!var %hash; !] in one file and in second [- Execute('the.file.above.epl'); %hash = (); ... -] But my 5.6.0 perl told me on it: [181]ERR: 32: Line 1: Warning in Perl code: Operator o

Re: use; for project

2001-07-17 Thread Gerald Richter
Hello > > I need to find a place to put use statements in. Where is the right place? > Every file runs in it own namespace, so when the module exports symbol, you must put the use in the file where want to use the exported symbols. In your case in base.epl (or you have use the full name i.e. Croa