Re: Declaring variables in a required script

2005-06-28 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tom Schindl schrieb: | Bram x schrieb: | |> From: Tom Schindl <[EMAIL PROTECTED]> [...] | | en.pl: | --8<-- | package i18n::pl; ~^^^ Should be en. | | my %vars = ( lang => 'nl' ); | |

Re: Declaring variables in a required script

2005-06-28 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bram x schrieb: |> From: Tom Schindl <[EMAIL PROTECTED]> |> |> -BEGIN PGP SIGNED MESSAGE- |> Hash: SHA1 |> |> You should learn how perl works. I suppose you are running the script as |> an Apache::Reqistry but you miss the version. |> |> You p

Re: Declaring variables in a required script

2005-06-28 Thread Bram x
From: Tom Schindl <[EMAIL PROTECTED]> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You should learn how perl works. I suppose you are running the script as an Apache::Reqistry but you miss the version. You problem is that if en.pl is loaded using require in a process is will not be reloaded on

RE: Declaring variables in a required script

2005-06-28 Thread Bram x
From: "Frank Maas" <[EMAIL PROTECTED]> Bram, It looks very much as if you are not using mod_perl. Your code does not contain handlers gives that away. So your problem is most likely not going to be solved on this list. If you are really using mod_perl (and not only using a mod_perl enabled httpd

Re: Declaring variables in a required script

2005-06-28 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You should learn how perl works. I suppose you are running the script as an Apache::Reqistry but you miss the version. You problem is that if en.pl is loaded using require in a process is will not be reloaded once more hence you lines of code won't b

RE: Declaring variables in a required script

2005-06-27 Thread Frank Maas
Bram, > I'm sorry if this question has already been answered, but I couldn't > find the answer. It looks very much as if you are not using mod_perl. Your code does not contain handlers gives that away. So your problem is most likely not going to be solved on this list. If you are really using mo