Re: Is lc(or) something special?

2010-01-28 Thread Dr.Ruud
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

Re: Is lc(or) something special?

2010-01-28 Thread Uri Guttman
R == Ruud rvtol+use...@isolution.nl writes: R 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)

Re: Is lc(or) something special?

2010-01-28 Thread Shawn H Corey
Uri Guttman wrote: my question is why is the OP doing an lc() on a fixed string? and which is already lower case! someone mentioned a possible eval but that still makes little sense as it would seem to need to generate that code and hardwiring a statename as the arg is odd. me thinks we need

Re: Is lc(or) something special?

2010-01-28 Thread Uri Guttman
SHC == Shawn H Corey shawnhco...@gmail.com writes: SHC Uri Guttman wrote: my question is why is the OP doing an lc() on a fixed string? and which is already lower case! someone mentioned a possible eval but that still makes little sense as it would seem to need to generate that code

Re: Is lc(or) something special?

2010-01-28 Thread Shawn H Corey
Uri Guttman wrote: why would mod_perl have anything to do with evaling hardwired values inside lc()? i have done plenty of perl code generation (see Sort::Maker for one) and you can control that easily if you take care. the OP had a fixed value of or (oregon?) inside lc. so some code had

Re: Is lc(or) something special?

2010-01-28 Thread Uri Guttman
SHC == Shawn H Corey shawnhco...@gmail.com writes: SHC Uri Guttman wrote: why would mod_perl have anything to do with evaling hardwired values inside lc()? i have done plenty of perl code generation (see Sort::Maker for one) and you can control that easily if you take care. the OP had

Is lc(or) something special?

2010-01-27 Thread Grant
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

Re: Is lc(or) something special?

2010-01-27 Thread Jim Gibson
On 1/27/10 Wed Jan 27, 2010 11:53 AM, Grant emailgr...@gmail.com scribbled: 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)

Re: Is lc(or) something special?

2010-01-27 Thread Grant
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