Grant wrote:
> 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?


-- 
Just my 0.00000002 million dollars worth,
  Shawn

Programming is as much about organization and communication
as it is about coding.

I like Perl; it's the only language where you can bless your
thingy.

-- 
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