Problem with upgrade 2.19 -> 3.0

Andy De Petter adepette at krameria.net
Mon Apr 8 00:12:45 CDT 2002


Hi guys,

After upgrading to v3.0, I get the following errors:

ERR: Error in RewriteFunction(username): Can't use string ("sub { my($a)
= shift; $a =~tr/A") as a subroutine ref while "strict refs" in use at
(eval 1240) line 1.

My rewritefunction is the following:

RewriteFunction sub { my($a) = shift; $a =~ tr/A-Z/a-z/; $a =~
s/[\000]//g; $a; }

Any ideas, except for disabling the strict refs? :P

-a

-------------------------------------------------------

-- 
I am travelling at the moment, and there may be delays in our correspondence.
Mike McCauley, Open System Consultants, mikem at open.com.au, www.open.com.au
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list