Re: export constants from package

2003-11-20 Thread drieux
On Wednesday, Nov 19, 2003, at 12:43 US/Pacific, Haim Ashkenazi wrote: [..] I was talking about the first example, but I think I've made a mistake... I tried to add the constant to to my @EXPORT (which was declared with "use constant ...") and I've got an error. I was probably too quick to assum

Re: export constants from package

2003-11-20 Thread Haim Ashkenazi
Drieux wrote: > > On Wednesday, Nov 19, 2003, at 06:38 US/Pacific, Haim Ashkenazi wrote: > >> Hi >> >> I'm writing a module to serve a script I'm writing and I was wondering >> if >> it's possible to add a constant to the @EXPORT array. I prefer not to >> use >> variables because these settings

Re: export constants from package

2003-11-19 Thread R. Joseph Newton
Haim Ashkenazi wrote: > Hi > > I'm writing a module to serve a script I'm writing and I was wondering if > it's possible to add a constant to the @EXPORT array. I prefer not to use > variables because these settings shouldn't be changed, but I want every > script that uses this module to be able t

Re: export constants from package

2003-11-19 Thread drieux
On Wednesday, Nov 19, 2003, at 06:38 US/Pacific, Haim Ashkenazi wrote: as an illustration: ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: export constants from package

2003-11-19 Thread drieux
On Wednesday, Nov 19, 2003, at 06:38 US/Pacific, Haim Ashkenazi wrote: Hi I'm writing a module to serve a script I'm writing and I was wondering if it's possible to add a constant to the @EXPORT array. I prefer not to use variables because these settings shouldn't be changed, but I want every s

export constants from package

2003-11-19 Thread Haim Ashkenazi
Hi I'm writing a module to serve a script I'm writing and I was wondering if it's possible to add a constant to the @EXPORT array. I prefer not to use variables because these settings shouldn't be changed, but I want every script that uses this module to be able to access these constants. I read