in reply to Removing spaces, again.
Then I thought "problem with the assignment binding tighter than the pattern match operator" - but that doesn't seem to be true, either.
Then I pondered "could it be the list context of the match?" I'm still not sure if that's an issue or not.
So, in the spirit of "give a man a fish..." (or, light him on fire, depending on your persepective), I'll offer the following somewhat generic advice when faced with code like this:
my $bit_o_line = substr ($line, 3, 7); $bit_o_line =~ m/^\s*(.*)\s*$/; $BKSIC_MODEL[$i] = $1;
Peace,
-McD
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Removing spaces, again.
by buckaduck (Chaplain) on Mar 16, 2001 at 03:17 UTC | |
by McD (Chaplain) on Mar 16, 2001 at 04:13 UTC | |
by buckaduck (Chaplain) on Mar 16, 2001 at 04:46 UTC |