>>>>> "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 and >> hardwiring a statename as the arg is odd. me thinks we need to see more >> code to really get to the reason for this. SHC> Actually the OP did respond that it was being run under mod_perl: 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 lc($state) where $state was 'or' already. why was that code evaled with the state name hard wired? SHC> The question is is $state a mod_perl variable? And did the OP `use SHC> strict;`? strict should have anything to do with this either. we need to see more code or the original code before this supposed eval is called. uri -- Uri Guttman ------ u...@stemsystems.com -------- http://www.sysarch.com -- ----- Perl Code Review , Architecture, Development, Training, Support ------ --------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com --------- -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/