>> I have a line in a script that lowercases each US state regardless of
>> what case the letters are in:
>>
>> lc($state);
>>
>> I just saw an error like this:
>>
>> Safe: syntax error at (eval 1806) line 1, near "lc(or"
>>> lc(or)
>>
>> Which makes me think lc(or) might have some type of special meaning
>> that I need to escape.  Does it, and if so, how can I escape it?
>>
>> - Grant
>>
>
> It looks like your script is being eval'ed by another.  Is this part of
> a CGI script running under mod_perl?

Precisely, yes:

http://www.icdevgroup.org

Thanks guys, I'll switch to:

[perl] lc("[scratch state]"); [/perl]

- Grant

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to