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 assume it
can't be done that way, instead of trying to figure out the error...
I tried it again now and it works.
don't you just hate it when your fingers go merrily on their own way....
Did you do the
@EXPORT = qw($MY_CONSTANT);
which is one of the OOOPSIES we all do when we shift to the 'use contant ...' approach from having had it as a 'glob'...
Someone really needs to collect
The Classic Perl Dumbs We've All Done
This way persons new to the cult can just plan ahead, make them, and move on...
ciao drieux
---
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]