"John W. Krahn" wrote:
> Bob Williams wrote:
>> Hi,
>
> Hello,
>
>> I am trying to split the lines in a file into two halves (at the first
>> space) each half going into an array. The code I have written is below.
>> The print command is there to test that things worked correctly, but it
>> only
> "SHC" == Shawn H Corey 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 a
>>
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 lc
Bob Williams wrote:
Hi,
Hello,
I am trying to split the lines in a file into two halves (at the first
space) each half going into an array. The code I have written is below. The
print command is there to test that things worked correctly, but it only
gives an error for each instance of the
> "SHC" == Shawn H Corey 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
>>
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 nee
> "R" == Ruud 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
Bob Williams asked:
> I am trying to split the lines in a file into two halves (at the first
> space) each half going into an array. The code I have written is below.
> ---Code---
> #!/usr/bin/perl
> use warnings;
> #use strict;
use strict; # unless you know what you're doing.
> #use diagnostic
Hi,
I am trying to split the lines in a file into two halves (at the first
space) each half going into an array. The code I have written is below. The
print command is there to test that things worked correctly, but it only
gives an error for each instance of the print command...
Use of uninit
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
10 matches
Mail list logo