in reply to Re: Re: Re: Removing spaces, again.
in thread Removing spaces, again.
(which would simply capture the substr result and throw away the result of the pattern match)($BKSIC_MODEL[$i] = substr ($line, 3, 7)) =~ m/^\s*(.*)\s*$/;
... instead of the line he posted here:
(which should not capture the leading space)($BKSIC_MODEL[$i]) = substr ($line, 3, 7) =~ m/^\s*(.*)\s*$/;
buckaduck
|
|---|