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.

Actually the OP did respond that it was being run under mod_perl:

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

The question is is $state a mod_perl variable?  And did the OP `use
strict;`?


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